skip to main content
DataDirect Connect Drivers : Sybase Driver : Connection Properties : AuthenticationMethod
  
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 | encryptedPassword
Behavior
If set to kerberos, the driver uses Kerberos authentication. The driver ignores any user ID or password that is specified. If you set this value, you also must set the ServicePrincipalName property.
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 encryptedPassword, the driver negotiates a secure login with the database server by sending an encrypted user password. This encrypted password is a proprietary Sybase password and must contain characters from the 7-bit ACII set.
Notes
*The User property provides the user ID. The Password property provides the password.
Default
userIdPassword
Data Type
String
See also
Authentication