skip to main content
Connection property descriptions : AuthenticationMethod
  

Try DataDirect Drivers Now

AuthenticationMethod

Purpose

Determines which authentication method the driver uses when establishing a connection. If the specified authentication method is not supported by the database server, the connection fails and the driver throws an exception.

Valid Values

kerberos | userIdPassword | none

Behavior

If set to kerberos, the driver uses Kerberos authentication. In addition, the driver automatically detects and abides by the server's SASL-QOP configuration at connection time. The driver ignores any user ID or password that is specified.
If set to userIdPassword, the driver uses user ID/password authentication. If a user ID and password is not specified, the driver throws an exception.
If set to none, the driver does not attempt to verify the user ID and password. When a packet is passed to the server, a value of Anonymous is specified for the user ID and password. This setting is used when the server is not configured to authenticate user logon information.

Notes

*The User property provides the user ID. The Password property provides the password.
*When Kerberos authentication is enabled, the driver automatically detects and abides by the server's SASL-QOP configuration at connection time.

Data Source Method

setAuthenticationMethod

Default

userIdPassword

Data Type

String

See also

*Authentication
*ServicePrincipalName