public abstract class GGSSchemeBase extends AuthSchemeBase
Modifier and Type | Method and Description |
---|---|
Header |
authenticate(Credentials credentials,
HttpRequest request)
|
Header |
authenticate(Credentials credentials,
HttpRequest request,
HttpContext context)
Produces an authorization string for the given set of
Credentials . |
boolean |
isComplete()
Authentication process may involve a series of challenge-response exchanges.
|
getChallengeState, isProxy, processChallenge, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameter, getRealm, getSchemeName, isConnectionBased
public boolean isComplete()
AuthScheme
true
if the authentication process has been completed,
false
otherwise.@Deprecated public Header authenticate(Credentials credentials, HttpRequest request) throws AuthenticationException
ContextAwareAuthScheme.authenticate(
Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
AuthScheme
Credentials
.credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticatedAuthenticationException
- if authorization string cannot
be generated due to an authentication failurepublic Header authenticate(Credentials credentials, HttpRequest request, HttpContext context) throws AuthenticationException
ContextAwareAuthScheme
Credentials
.authenticate
in interface ContextAwareAuthScheme
authenticate
in class AuthSchemeBase
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 © 2010 - 2020 Adobe. All Rights Reserved