public 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 and Description |
|---|---|
Header |
authenticate(Credentials credentials,
HttpRequest request,
HttpContext context)
Produces an authorization string for the given set of
Credentials. |
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallengeHeader authenticate(Credentials credentials, HttpRequest request, 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 failureCopyright © 1999–2013 The Apache Software Foundation. All rights reserved.