skip to main content
Part 4: The Connect XE Drivers : The Driver for Apache Hive : Connection Option Descriptions : Authentication Method
  
Authentication Method
Attribute
AuthenticationMethod (AM)
Purpose
Specifies the method the driver uses to authenticate the user to the server when a connection is established. If the specified authentication method is not supported by the database server, the connection fails and the driver generates an error.
Valid Values
0 | 1 | -1
Behavior
If set to 0 (User ID/Password), the driver sends the user ID in clear text and an encrypted password to the server for authentication.
If set to 1 (Kerberos Authentication), the driver uses Kerberos authentication. This method supports both Windows Active Directory Kerberos and MIT Kerberos environments.
Note: This setting is supported only for HiveServer2 connections.
If set to -1 (No Authentication), the driver sends the user ID and password in clear text to the server for authentication.
Default
0 (No Encryption)
GUI Tab
Security tab