public abstract class GGSSchemeBase extends AuthSchemeBase
challengeState| Modifier and Type | Method and Description |
|---|---|
org.apache.http.Header |
authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
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. |
protected byte[] |
generateGSSToken(byte[] input,
Oid oid,
String authServer) |
protected byte[] |
generateGSSToken(byte[] input,
Oid oid,
String authServer,
Credentials credentials) |
protected byte[] |
generateToken(byte[] input,
String authServer)
Deprecated.
|
protected byte[] |
generateToken(byte[] input,
String authServer,
Credentials credentials) |
protected GSSManager |
getManager() |
boolean |
isComplete()
Authentication process may involve a series of challenge-response exchanges.
|
protected void |
parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
int beginIndex,
int endIndex) |
getChallengeState, isProxy, processChallenge, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameter, getRealm, getSchemeName, isConnectionBasedprotected GSSManager getManager()
protected byte[] generateGSSToken(byte[] input,
Oid oid,
String authServer)
throws GSSException
GSSExceptionprotected byte[] generateGSSToken(byte[] input,
Oid oid,
String authServer,
Credentials credentials)
throws GSSException
GSSException@Deprecated protected byte[] generateToken(byte[] input, String authServer) throws GSSException
generateToken(byte[], String, org.apache.http.auth.Credentials).GSSExceptionprotected byte[] generateToken(byte[] input,
String authServer,
Credentials credentials)
throws GSSException
GSSExceptionpublic boolean isComplete()
AuthSchemetrue if the authentication process has been completed,
false otherwise.@Deprecated public org.apache.http.Header authenticate(Credentials credentials, org.apache.http.HttpRequest request) throws AuthenticationException
ContextAwareAuthScheme.authenticate(
Credentials, HttpRequest, org.apache.http.protocol.HttpContext)AuthSchemeCredentials.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 org.apache.http.Header authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws AuthenticationException
ContextAwareAuthSchemeCredentials.authenticate in interface ContextAwareAuthSchemeauthenticate in class AuthSchemeBasecredentials - 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 failureprotected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
int beginIndex,
int endIndex)
throws MalformedChallengeException
parseChallenge in class AuthSchemeBaseMalformedChallengeExceptionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.