Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedAuthProvider
An auth provider that represents the host as an
EndPoint instead of a raw InetSocketAddress . |
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedAuthProvider.NoAuthProvider |
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,
ProtocolVersion protocolVersion,
int maxSchemaAgreementWaitSeconds,
SSLOptions sslOptions,
AuthProvider authProvider)
Creates a new
ProtocolOptions instance using the provided port and SSL context. |
ProtocolOptions(int port,
ProtocolVersion protocolVersion,
int maxSchemaAgreementWaitSeconds,
SSLOptions sslOptions,
AuthProvider authProvider,
boolean noCompact)
Creates a new
ProtocolOptions instance using the provided port and SSL context. |
Copyright © 2012–2023. All rights reserved.