public interface AuthProvider
Authenticator
instances for use when connecting to Cassandra nodes.
See PlainTextAuthProvider
for an implementation which uses SASL PLAIN mechanism to
authenticate using username/password strings
Modifier and Type | Interface and Description |
---|---|
static class |
AuthProvider.TransitionalModePlainTextAuthenticator
Dummy Authenticator that accounts for DSE authentication configured with transitional mode.
|
Modifier and Type | Field and Description |
---|---|
static AuthProvider |
NONE
A provider that provides no authentication capability.
|
Modifier and Type | Method and Description |
---|---|
Authenticator |
newAuthenticator(InetSocketAddress host,
String authenticator)
The
Authenticator to use when connecting to host |
static final AuthProvider NONE
This is only useful as a placeholder when no authentication is to be used.
Authenticator newAuthenticator(InetSocketAddress host, String authenticator) throws AuthenticationException
Authenticator
to use when connecting to host
host
- the Cassandra host to connect to.authenticator
- the configured authenticator on the host.AuthenticationException
Copyright © 2012–2019. All rights reserved.