AuthenticationMethod
- Last Updated: March 25, 2021
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
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
| encryptPassword
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
negotiates a secure login with the database server by sending an encrypted password. The
password is encrypted using Sybase Extended Password Encryption, Sybase Extended Plus
Encrypted Password, or Sybase proprietary encryption, depending on the response by the
server. Note that the proprietary Sybase password must contain characters from the 7-bit
ASCII set.
If set to encryptPassword, 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 ASCII set.
Notes
- The User property provides the user ID. The Password property provides the password.
Default
userIdPassword
Data Type
String