AuthenticationMethod
- Last Updated: July 2, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Aha! 6.0
- Documentation
Purpose
Determines which authentication method the driver uses during the course of a session.
Valid Values
Basic | URLParameter | 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 UrlParameter, the driver passes security tokens (API keys) via the URL for authentication.
You must also specify the API key using the SecurityToken property.
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
Basic
Data Type
String