AuthenticationMethod
- Last Updated: October 23, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Snowflake 6.0
- TeamCity 6.0
- Documentation
Purpose
Specifies the authentication method to use for verifying user login credentials.
Valid Values
UserIDPassword | OAuth2 | BrowserBasedSSO |
KeyPair
Behavior
If set to UserIDPassword, the driver uses your
user name and password for authentication.
If set to OAuth2, the driver authenticates using
OAuth. When OAuth2 is specified as the authentication method, you must also set the
accessToken parameter to specify the OAuth access token.
If set to BrowserBasedSSO, the driver uses your
web browser to authenticate with Okta, ADFS, or any other SAML 2.0-compliant
identity provider (IdP) that has been defined for your account.
If set to KeyPair, the driver uses a pair of private and public keys
for authentication.
Data Source Methods
public String getAuthenticationMethod()
public void setAuthenticationMethod(String)
Default Value
UserIDPassword
Data Type
String