Package | Description |
---|---|
com.datastax.driver.auth | |
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Class and Description |
---|---|
class |
DseAuthProvider
AuthProvider which supplies authenticator instances for clients to connect t
DSE clusters secured with Kerberos
The SASL protocol name defaults to "dse"; should you need to change that
it can be overridden using the
dse.sasl.protocol system property. |
Modifier and Type | Class and Description |
---|---|
class |
PlainTextAuthProvider
A simple
AuthProvider implementation. |
Modifier and Type | Field and Description |
---|---|
static AuthProvider |
AuthProvider.NONE
A provider that provides no authentication capability.
|
Modifier and Type | Method and Description |
---|---|
AuthProvider |
ProtocolOptions.getAuthProvider()
The
AuthProvider used by this cluster. |
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.withAuthProvider(AuthProvider authProvider)
Use the specified AuthProvider when connecting to Cassandra
hosts.
|
Constructor and Description |
---|
ProtocolOptions(int port,
int protocolVersion,
SSLOptions sslOptions,
AuthProvider authProvider)
Deprecated.
This is provided for backward compatibility; use
#ProtocolOptions(int, ProtocolVersion, int, SSLOptions, AuthProvider)) instead. |
ProtocolOptions(int port,
ProtocolVersion protocolVersion,
int maxSchemaAgreementWaitSeconds,
SSLOptions sslOptions,
AuthProvider authProvider)
Creates a new
ProtocolOptions instance using the provided port
and SSL context. |
Copyright © 2012–2015. All rights reserved.