com.datastax.driver.auth
Class KerberosAuthenticator

java.lang.Object
  extended by 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.


Field Summary
static String JAAS_CONFIG_ENTRY
           
static String SASL_PROTOCOL_NAME
           
static String SASL_PROTOCOL_NAME_PROPERTY
           
static String[] SUPPORTED_MECHANISMS
           
 
Constructor Summary
KerberosAuthenticator(InetAddress host)
           
 
Method Summary
 byte[] evaluateChallenge(byte[] challenge)
           
 byte[] initialResponse()
           
 void onAuthenticationSuccess(byte[] token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

KerberosAuthenticator

public KerberosAuthenticator(InetAddress host)
Method Detail

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.