Using the AuthenticationMethod Property
- Last Updated: May 15, 2020
- 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. 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.