Class NegotiateAuthenticator
java.lang.Object
org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
org.infinispan.client.rest.impl.okhttp.auth.NegotiateAuthenticator
- All Implemented Interfaces:
okhttp3.Authenticator,CachingAuthenticator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
AbstractAuthenticator.AuthenticationException -
Field Summary
Fields inherited from class org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
WWW_AUTH, WWW_AUTH_RESPFields inherited from interface okhttp3.Authenticator
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Requestauthenticate(okhttp3.Route route, okhttp3.Response response) okhttp3.RequestauthenticateWithState(okhttp3.Route route, okhttp3.Request request) protected StringgenerateToken(byte[] input, String authServer)
-
Constructor Details
-
NegotiateAuthenticator
-
-
Method Details
-
authenticate
public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) - Specified by:
authenticatein interfaceokhttp3.Authenticator
-
authenticateWithState
public okhttp3.Request authenticateWithState(okhttp3.Route route, okhttp3.Request request) throws IOException - Specified by:
authenticateWithStatein interfaceCachingAuthenticator- Throws:
IOException
-
generateToken
- Throws:
GSSException
-