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)
The
Authenticator to use when connecting to host |
static final AuthProvider NONE
Authenticator newAuthenticator(InetSocketAddress host) throws AuthenticationException
Authenticator
to use when connecting to host
host
- the Cassandra host to connect to.AuthenticationException