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 stringsModifier 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
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