Using the AuthenticationMethod Property
- Last Updated: July 29, 2015
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Spark SQL 6.0
- Documentation
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 user
ID or password is not specified, the driver passes the word "anonymous" for the missing
item(s) when submitting requests to the server.