skip to main content
DataDirect Connect XE Drivers : The Driver for Apache Hive : Authentication : Using the AuthenticationMethod Property
  
Using the AuthenticationMethod Property
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.
When AuthenticationMethod=encryptedPassword, a user ID in clear text and an encrypted password are sent to the Apache Hive server for authentication.