|Modifier and Type||Method and Description|
The authenticator to use when connecting to
What to do if the server does not send back an authentication challenge (in other words, lets the client connect without any form of authentication).
@NonNull Authenticator newAuthenticator(@NonNull EndPoint endPoint, @NonNull String serverAuthenticator) throws AuthenticationException
endPoint- the Cassandra host to connect to.
serverAuthenticator- the configured authenticator on the host.
void onMissingChallenge(@NonNull EndPoint endPoint) throws AuthenticationException
This is suspicious because having authentication enabled on the client but not on the server is probably a configuration mistake.
Provider implementations are free to handle this however they want; typical approaches are:
Copyright © 2017–2019. All rights reserved.