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
This is only useful as a placeholder when no authentication is to be used.
Authenticator newAuthenticator(InetSocketAddress host) throws AuthenticationException
Authenticator
to use when connecting to host
host
- the Cassandra host to connect to.AuthenticationException
Copyright © 2012–2015. All rights reserved.