AuthenticationMethod
- 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
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
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 ServicePrincipalName property must
be specified. 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.
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.
- When Kerberos authentication is enabled, the ServicePrincipalName connection property must be specified.
Default
userIdPassword
Data Type
String