@ThreadSafe public abstract class DseGssApiAuthProviderBase extends Object implements com.datastax.oss.driver.api.core.auth.AuthProvider
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DseGssApiAuthProviderBase.GssApiAuthenticator |
static class |
DseGssApiAuthProviderBase.GssApiOptions
The options to initialize a new authenticator.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SASL_SERVICE_NAME
The default SASL service name used by this auth provider.
|
static String |
SASL_SERVICE_NAME_PROPERTY
The name of the system property to use to specify the SASL service name.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DseGssApiAuthProviderBase(String logPrefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract DseGssApiAuthProviderBase.GssApiOptions |
getOptions(com.datastax.oss.driver.api.core.metadata.EndPoint endPoint,
String serverAuthenticator) |
com.datastax.oss.driver.api.core.auth.Authenticator |
newAuthenticator(com.datastax.oss.driver.api.core.metadata.EndPoint endPoint,
String serverAuthenticator) |
void |
onMissingChallenge(com.datastax.oss.driver.api.core.metadata.EndPoint endPoint) |
public static final String DEFAULT_SASL_SERVICE_NAME
public static final String SASL_SERVICE_NAME_PROPERTY
protected DseGssApiAuthProviderBase(@NonNull
String logPrefix)
logPrefix - a string that will get prepended to the logs (this is used for discrimination
when you have multiple driver instances executing in the same JVM). Config-based
implementations fill this with Session.getName().@NonNull protected abstract DseGssApiAuthProviderBase.GssApiOptions getOptions(@NonNull com.datastax.oss.driver.api.core.metadata.EndPoint endPoint, @NonNull String serverAuthenticator)
@NonNull
public com.datastax.oss.driver.api.core.auth.Authenticator newAuthenticator(@NonNull
com.datastax.oss.driver.api.core.metadata.EndPoint endPoint,
@NonNull
String serverAuthenticator)
throws com.datastax.oss.driver.api.core.auth.AuthenticationException
newAuthenticator in interface com.datastax.oss.driver.api.core.auth.AuthProvidercom.datastax.oss.driver.api.core.auth.AuthenticationExceptionpublic void onMissingChallenge(@NonNull
com.datastax.oss.driver.api.core.metadata.EndPoint endPoint)
onMissingChallenge in interface com.datastax.oss.driver.api.core.auth.AuthProviderpublic void close()
close in interface AutoCloseableCopyright © 2017–2019. All rights reserved.