protected static class DsePlainTextAuthProviderBase.PlainTextAuthenticator extends BaseDseAuthenticator
Modifier | Constructor and Description |
---|---|
protected |
PlainTextAuthenticator(DsePlainTextAuthProviderBase.Credentials credentials,
com.datastax.oss.driver.api.core.metadata.EndPoint endPoint,
String serverAuthenticator) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
evaluateChallengeSync(ByteBuffer challenge) |
ByteBuffer |
getInitialServerChallenge()
Return a byte buffer containing the expected successful server challenge.
|
ByteBuffer |
getMechanism()
Return a byte buffer containing the required SASL mechanism.
|
initialResponseSync, onAuthenticationSuccessSync
protected PlainTextAuthenticator(DsePlainTextAuthProviderBase.Credentials credentials, com.datastax.oss.driver.api.core.metadata.EndPoint endPoint, String serverAuthenticator)
@NonNull public ByteBuffer getMechanism()
BaseDseAuthenticator
This should be one of:
getMechanism
in class BaseDseAuthenticator
@NonNull public ByteBuffer getInitialServerChallenge()
BaseDseAuthenticator
This should be one of:
getInitialServerChallenge
in class BaseDseAuthenticator
@Nullable public ByteBuffer evaluateChallengeSync(@Nullable ByteBuffer challenge)
Copyright © 2017–2019. All rights reserved.