Authentication Method
- Last Updated: October 27, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- Documentation
Attribute
AuthenticationMethod (AM)
Purpose
Specifies the method the driver uses to authenticate the user to the server when a connection is established.
Valid Values
0 | 4 | -1
Behavior
If set to 0 (User ID/Password), the driver sends the user ID and password in clear text to the server for authentication.
If set to 4 (Kerberos Authentication), the driver uses Kerberos authentication. This method supports both Windows Active Directory Kerberos and MIT Kerberos environments.
If set to -1 (No Authentication), the driver passes the value
anonymous for the user ID and the value p for the
password when submitting requests to the server.
Default
0 (User ID/Password)