AuthenticationMethod
- Last Updated: January 16, 2018
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Spark SQL 6.0
- Documentation
Purpose
Determines which authentication method the driver uses when establishing a connection.
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 user ID or password is not specified, the driver passes
the word "anonymous" for the missing item(s) when submitting requests to the server.
Notes
- The User property provides the user ID. The Password property provides the password.
Data Source Method
setAuthenticationMethod
Default
userIdPassword
Data Type
String