skip to main content
DataDirect Connect XE Drivers : The Driver for Apache Hive : Connection Properties : AuthenticationMethod
  
AuthenticationMethod
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. 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 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.
Default
userIdPassword
Data Type
String
See also
Authentication