com.datastax.driver.auth
Class KerberosAuthenticator
java.lang.Object
com.datastax.driver.auth.KerberosAuthenticator
- All Implemented Interfaces:
- com.datastax.driver.core.Authenticator
public class KerberosAuthenticator
- extends Object
- implements com.datastax.driver.core.Authenticator
Responsible for authenticating with secured DSE services using Kerberos
over GSSAPI & SASL. The actual SASL negotiation is delegated to a
PrivilegedSaslClient which performs the priviledged actions on behalf
of the logged in user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAAS_CONFIG_ENTRY
public static final String JAAS_CONFIG_ENTRY
- See Also:
- Constant Field Values
SUPPORTED_MECHANISMS
public static final String[] SUPPORTED_MECHANISMS
SASL_PROTOCOL_NAME
public static final String SASL_PROTOCOL_NAME
- See Also:
- Constant Field Values
SASL_PROTOCOL_NAME_PROPERTY
public static final String SASL_PROTOCOL_NAME_PROPERTY
- See Also:
- Constant Field Values
KerberosAuthenticator
public KerberosAuthenticator(InetAddress host)
initialResponse
public byte[] initialResponse()
- Specified by:
initialResponse
in interface com.datastax.driver.core.Authenticator
evaluateChallenge
public byte[] evaluateChallenge(byte[] challenge)
- Specified by:
evaluateChallenge
in interface com.datastax.driver.core.Authenticator
onAuthenticationSuccess
public void onAuthenticationSuccess(byte[] token)
- Specified by:
onAuthenticationSuccess
in interface com.datastax.driver.core.Authenticator
Copyright © 2014. All rights reserved.