private class HttpClientConnector.NegotiateAuthentication extends GssApiAuthentication<AuthenticationChallenge,java.lang.String> implements HttpClientConnector.HttpAuthenticationHandler
tokendone, params, proxy| Constructor and Description |
|---|
NegotiateAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
protected org.ietf.jgss.GSSContext |
createContext()
Creates the
GSSContext to use. |
protected byte[] |
extractToken(AuthenticationChallenge input)
Extracts the token from the last set parameters.
|
java.lang.String |
getName() |
java.lang.String |
getToken()
Retrieves the last token generated.
|
close, process, startisDone, setParamspublic java.lang.String getName()
getName in interface HttpClientConnector.HttpAuthenticationHandlerpublic java.lang.String getToken()
throws java.lang.Exception
AuthenticationHandlergetToken in interface AuthenticationHandler<AuthenticationChallenge,java.lang.String>null if there is nonejava.lang.Exception - if an error occursprotected org.ietf.jgss.GSSContext createContext()
throws java.lang.Exception
GssApiAuthenticationGSSContext to use.createContext in class GssApiAuthentication<AuthenticationChallenge,java.lang.String>GSSContext to usejava.lang.Exception - if the context cannot be createdprotected byte[] extractToken(AuthenticationChallenge input) throws java.lang.Exception
GssApiAuthenticationextractToken in class GssApiAuthentication<AuthenticationChallenge,java.lang.String>input - to extract the token fromnull if nonejava.lang.Exception - if an error occurs