AuthSchemeAuthSchemeBase, BasicScheme, DigestScheme, GGSSchemeBase, KerberosScheme, NegotiateScheme, NTLMScheme, RFC2617Scheme, SPNegoSchemepublic interface ContextAwareAuthScheme extends AuthScheme
HttpContext in order to
generate an authorization string.
TODO: Fix AuthScheme interface in the next major version| Modifier and Type | Method | Description |
|---|---|---|
org.apache.http.Header |
authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
Produces an authorization string for the given set of
Credentials. |
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallengeorg.apache.http.Header authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws AuthenticationException
Credentials.credentials - The set of credentials to be used for athenticationrequest - The request being authenticatedcontext - HTTP contextAuthenticationException - if authorization string cannot
be generated due to an authentication failure