Configuring Authentication
Some Spark
For information about how to determine the type of authentication your Spark server requires, see Authentication Mechanisms.
You can specify authentication settings in a DSN, in a connection string, or as connector-wide settings. Settings in the connection string take precedence over settings in the DSN, and settings in the DSN take precedence over connector-wide settings.
The following authentication methods are available:
- Using No Authentication
- Using Kerberos
- Using User Name
- Using User Name And Password
- Using Windows Azure HDInsight Emulator
- Using Windows Azure HDInsight Service
- Using OAuth 2.0 on page 1
- Using an API Signing Key
- Using Token-based Authentication
If cookie-based authentication is enabled in your Spark Server 2 database, you can specify a list of authentication cookies in the HTTPAuthCookies
connection property. In this case, the connector authenticates the connection once based on the provided authentication credentials. It then uses the cookie generated by the server for each subsequent request in the same connection. For more information, see HTTPAuthCookies.
Note:
On Windows, the HTTPAuthCookies
property must be set in a connection string.
- Authentication Driver Configuration Options on page 1
- Creating a Data Source Name
- Configuring a DSN-less Connection