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,
Object context) |
Adds an authorization entry to the list.
|
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.
|
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 |
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 |
DefaultAuthHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp) |
returns the requested authorization, or null if none was given.
|
NVPair |
AuthorizationPrompter.getUsernamePassword(AuthorizationInfo challenge,
boolean forProxy) |
This method is invoked whenever a username and password is required for an
authentication challenge to proceed.
|
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 |
DefaultAuthHandler.handleAuthHeaders(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy) |
We handle the "Authentication-Info" and "Proxy-Authentication-Info" headers
here.
|
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.
|
void |
DefaultAuthHandler.handleAuthTrailers(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy) |
We handle the "Authentication-Info" and "Proxy-Authentication-Info"
trailers here.
|
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,
Object context) |
Removes an authorization entry from the list.
|