public class DseAuthProvider extends Object implements AuthProvider
KerberosAuthenticator for how
to configure client side Kerberos options.
To connect to clusters using internal
authentication, use the standard method for
setting credentials. eg:
Cluster cluster = Cluster.builder()
.addContactPoint(hostname)
.withCredentials("username", "password")
.build();
NONE| Constructor and Description |
|---|
DseAuthProvider() |
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
newAuthenticator(InetAddress host)
The
Authenticator to use when connecting to host |
public Authenticator newAuthenticator(InetAddress host) throws AuthenticationException
AuthProviderAuthenticator to use when connecting to hostnewAuthenticator in interface AuthProviderhost - the Cassandra host to connect to.AuthenticationExceptionCopyright © 2013. All Rights Reserved.