skip to main content
Connection Property Descriptions : AuthenticationMethod
  

Try DataDirect Drivers Now

AuthenticationMethod

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 userIdPassword but 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

See also

*Authentication
*Authentication Properties