AuthenticationMethod
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Cloudera Impala 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
userIdPassword | kerberos
Behavior
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 kerberos, the driver uses
Kerberos authentication. The ServicePrincipalName property must be specified.
Notes
- The User property provides the user ID. The Password property provides the password.
Data Source Method
setAuthenticationMethod
Default
userIdPassword
Data Type
String