|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AuthorizationInfo | |
HTTPClient | This package provides a complete http client library. |
wttools.protocols.extend.http |
Uses of AuthorizationInfo in HTTPClient |
Methods in HTTPClient that return AuthorizationInfo | |
static AuthorizationInfo |
AuthorizationInfo.getAuthorization(java.lang.String host,
int port,
java.lang.String scheme,
java.lang.String realm)
Searches for the authorization info using the given host, port, scheme and realm. |
static AuthorizationInfo |
AuthorizationInfo.getAuthorization(java.lang.String host,
int port,
java.lang.String scheme,
java.lang.String realm,
java.lang.Object context)
Searches for the authorization info in the given context using the given host, port, scheme and realm. |
AuthorizationInfo |
DefaultAuthHandler.fixupAuthInfo(AuthorizationInfo info,
RoRequest req,
AuthorizationInfo challenge,
RoResponse resp)
For Digest authentication we need to set the uri, response and opaque parameters. |
AuthorizationInfo |
DefaultAuthHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
returns the requested authorization, or null if none was given. |
AuthorizationInfo |
AuthorizationHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
This method is called whenever a 401 or 407 response is received and no candidate info is found in the list of known auth info. |
AuthorizationInfo |
AuthorizationHandler.fixupAuthInfo(AuthorizationInfo info,
RoRequest req,
AuthorizationInfo challenge,
RoResponse resp)
This method is called whenever auth info is chosen from the list of known info in the AuthorizationInfo class to be sent with a request. |
Methods in HTTPClient with parameters of type AuthorizationInfo | |
static void |
AuthorizationInfo.addAuthorization(AuthorizationInfo auth_info)
Adds an authorization entry to the list using the default context. |
static void |
AuthorizationInfo.addAuthorization(AuthorizationInfo auth_info,
java.lang.Object context)
Adds an authorization entry to the list. |
static void |
AuthorizationInfo.removeAuthorization(AuthorizationInfo auth_info)
Removes an authorization entry from the list using the default context. |
static void |
AuthorizationInfo.removeAuthorization(AuthorizationInfo auth_info,
java.lang.Object context)
Removes an authorization entry from the list. |
AuthorizationInfo |
DefaultAuthHandler.fixupAuthInfo(AuthorizationInfo info,
RoRequest req,
AuthorizationInfo challenge,
RoResponse resp)
For Digest authentication we need to set the uri, response and opaque parameters. |
AuthorizationInfo |
DefaultAuthHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
returns the requested authorization, or null if none was given. |
void |
DefaultAuthHandler.handleAuthHeaders(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
We handle the "Authentication-Info" and "Proxy-Authentication-Info" headers here. |
void |
DefaultAuthHandler.handleAuthTrailers(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
We handle the "Authentication-Info" and "Proxy-Authentication-Info" trailers here. |
AuthorizationInfo |
AuthorizationHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
This method is called whenever a 401 or 407 response is received and no candidate info is found in the list of known auth info. |
AuthorizationInfo |
AuthorizationHandler.fixupAuthInfo(AuthorizationInfo info,
RoRequest req,
AuthorizationInfo challenge,
RoResponse resp)
This method is called whenever auth info is chosen from the list of known info in the AuthorizationInfo class to be sent with a request. |
void |
AuthorizationHandler.handleAuthHeaders(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
Sometimes even non-401 responses will contain headers pertaining to authorization (such as the "Authentication-Info" header). |
void |
AuthorizationHandler.handleAuthTrailers(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
This method is similar to handleAuthHeaders except that
it is called if any headers in the trailer were sent. |
NVPair |
AuthorizationPrompter.getUsernamePassword(AuthorizationInfo challenge,
boolean forProxy)
This method is invoked whenever a username and password is required for an authentication challenge to proceed. |
Uses of AuthorizationInfo in wttools.protocols.extend.http |
Methods in wttools.protocols.extend.http with parameters of type AuthorizationInfo | |
NVPair |
AuthorizationPrompterImpl.getUsernamePassword(AuthorizationInfo param1,
boolean param2)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |