public static class AuthProvider.TransitionalModePlainTextAuthenticator extends Object
In this situation, the client is allowed to connect without authentication, but DSE would still send an AUTHENTICATE response. This Authenticator handles this situation by sending back a dummy credential.
| Constructor and Description |
|---|
TransitionalModePlainTextAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
evaluateChallenge(byte[] challenge)
Evaluate a challenge received from the Server.
|
byte[] |
initialResponse()
Obtain an initial response token for initializing the SASL handshake
|
void |
onAuthenticationSuccess(byte[] token)
Called when authentication is successful with the last information optionally sent by the
server.
|
public TransitionalModePlainTextAuthenticator()
public byte[] initialResponse()
AuthenticatorinitialResponse in interface Authenticatorpublic byte[] evaluateChallenge(byte[] challenge)
AuthenticatorevaluateChallenge in interface Authenticatorchallenge - the server's SASL challengepublic void onAuthenticationSuccess(byte[] token)
AuthenticatoronAuthenticationSuccess in interface Authenticatortoken - the information sent by the server with the authentication successful message.
This will be null if the server sends no particular information on authentication
success.Copyright © 2012–2025. All rights reserved.