Purpose

Determines which authentication mechanism the driver uses when establishing a connection.

Valid Values

Basic | BearerToken | OAuth2

Behavior

If set to Basic, the driver uses a hashed value, based on the concatenation of the user name and password, for authentication.

If set to BearerToken, the driver uses an API Token (configured as BearerToken) for authentication.

If set to OAuth2, the driver uses OAuth 2.0 to authenticate to REST endpoints. See "OAuth 2.0 authentication" for details.

Data Source Methods

public String getAuthenticationMethod()

public void setAuthenticationMethod(String)

Default Value

BearerToken

Data Type

String