@NotThreadSafe public abstract class GGSSchemeBase extends AuthSchemeBase
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
GGSSchemeBase.State |
challengeState| Constructor and Description |
|---|
GGSSchemeBase() |
GGSSchemeBase(boolean stripPort) |
GGSSchemeBase(boolean stripPort,
boolean useCanonicalHostname) |
| 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. |
protected byte[] |
generateGSSToken(byte[] input,
org.ietf.jgss.Oid oid,
java.lang.String authServer) |
protected byte[] |
generateGSSToken(byte[] input,
org.ietf.jgss.Oid oid,
java.lang.String authServer,
Credentials credentials) |
protected byte[] |
generateToken(byte[] input,
java.lang.String authServer)
Deprecated.
|
protected byte[] |
generateToken(byte[] input,
java.lang.String authServer,
Credentials credentials) |
protected org.ietf.jgss.GSSManager |
getManager() |
boolean |
isComplete()
Authentication process may involve a series of challenge-response exchanges.
|
protected void |
parseChallenge(CharArrayBuffer buffer,
int beginIndex,
int endIndex) |
getChallengeState, isProxy, processChallenge, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameter, getRealm, getSchemeName, isConnectionBasedGGSSchemeBase(boolean stripPort,
boolean useCanonicalHostname)
GGSSchemeBase(boolean stripPort)
GGSSchemeBase()
protected org.ietf.jgss.GSSManager getManager()
protected byte[] generateGSSToken(byte[] input,
org.ietf.jgss.Oid oid,
java.lang.String authServer)
throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSExceptionprotected byte[] generateGSSToken(byte[] input,
org.ietf.jgss.Oid oid,
java.lang.String authServer,
Credentials credentials)
throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSException@Deprecated
protected byte[] generateToken(byte[] input,
java.lang.String authServer)
throws org.ietf.jgss.GSSException
generateToken(byte[], String, org.apache.http.auth.Credentials).org.ietf.jgss.GSSExceptionprotected byte[] generateToken(byte[] input,
java.lang.String authServer,
Credentials credentials)
throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSExceptionpublic boolean isComplete()
AuthSchemetrue 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)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 Header authenticate(Credentials credentials, HttpRequest request, 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(CharArrayBuffer buffer, int beginIndex, int endIndex) throws MalformedChallengeException
parseChallenge in class AuthSchemeBaseMalformedChallengeException