AuthenticationMethod
- Last Updated: December 21, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Cassandra 6.0
- Documentation
Purpose
Determines which authentication mechanism the driver uses when establishing a connection.
Valid Values
none | kerberos | userIdPassword
Behavior
If set to none, the driver does not
attempt to authenticate with the server.
If set to kerberos, the driver uses
Kerberos authentication.
If set to userIdPassword, the driver uses
SCRAM-SHA-1 user ID/password authentication. The User
property provides the user ID, and the Password property provides the password.
Notes
- In a scenario where AuthenticationMethod has been set to
userIdPasswordbut the server has not been configured for user ID/password authentication, the driver will still connect to the database server. - If authentication has not been enabled, client applications will have access to all keyspaces on the server. If authentication has been enabled, a client application will only have access to the keyspace specified by the KeyspaceName property assuming it has the required permissions.
Data Source Method
setAuthenticationMethod
Default
userIdPassword
Data Type
String