Using the AuthenticationMethod Property
- Last Updated: July 29, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
The AuthenticationMethod connection property controls which authentication mechanism the driver uses when establishing connections.
When AuthenticationMethod=kerberos, the
driver uses Kerberos authentication when establishing a connection. In addition, the driver
automatically detects and abides by the server's SASL-QOP configuration at connection time.
The driver ignores any values specified by the User and Password properties.
When AuthenticationMethod=userIdPassword
(default), the driver uses user ID/password authentication when establishing a connection.
The User property provides the user ID. The Password property provides the password. If a
user ID is not specified, the driver throws an exception.