Mechanism

AuthMech

The authentication mechanism to use.

Select one of the following settings, or set the key to the authentication name:

  • 0: No Authentication (No Authentication or 0)
  • 1: Kerberos (Kerberos or 1)
  • 2: SASL User Name (SASL User Name or 2)
  • 3: User Name And Password (User Name and Password or 3)
  • JWT (JWT or 8)
  • OAuth 2.0 (OAuth 2.0 or 9)
  • SAML_2.0 (SAML_2.0)
  • 13: MapR SASL (13)

Note: The AuthMech property now uses the authentication mechanism's name instead of the corresponding numbers. The connector continues to recognize the corresponding numbers (0, 1, 2, 3, and 8) for backwards compatibility.\

Note: For connector version 2.7.1. and earlier, when using JWT to connect to an Impala virtual warehouse cluster with active-active coordinators, the connector may return a 401 error for the first operation after the connection is established.
As a workaround, add the following configuration to the DSN or connector string:
AuthorizationHeaderReplacementCookie=impala.auth

Key Name Default Value Required

AuthMech

No Authentication (No Authentication or 0)

No