@ThreadSafe public abstract class BaseDseAuthenticator extends Object implements SyncAuthenticator
SyncAuthenticator
implementations that want to make use of the
authentication scheme negotiation in DseAuthenticator
.Modifier and Type | Method and Description |
---|---|
abstract ByteBuffer |
getInitialServerChallenge()
Return a byte array containing the expected successful server challenge.
|
abstract ByteBuffer |
getMechanism()
Return a byte array containing the required SASL mechanism.
|
ByteBuffer |
initialResponseSync() |
void |
onAuthenticationSuccessSync(ByteBuffer token) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluateChallenge, evaluateChallengeSync, initialResponse, onAuthenticationSuccess
@NonNull public abstract ByteBuffer getMechanism()
ByteBuffer
containing the SASL mechanism@NonNull public abstract ByteBuffer getInitialServerChallenge()
ByteBuffer
containing the server challenge@Nullable public ByteBuffer initialResponseSync()
initialResponseSync
in interface SyncAuthenticator
public void onAuthenticationSuccessSync(@Nullable ByteBuffer token)
onAuthenticationSuccessSync
in interface SyncAuthenticator
Copyright © 2017–2019. All rights reserved.