public static class AuthProvider.NoAuthProvider extends Object implements ExtendedAuthProvider
AuthProvider.NoAuthProvider, AuthProvider.TransitionalModePlainTextAuthenticator
NONE
Constructor and Description |
---|
NoAuthProvider() |
Modifier and Type | Method and Description |
---|---|
Authenticator |
newAuthenticator(EndPoint endPoint,
String authenticator)
The
Authenticator to use when connecting to endpoint . |
Authenticator |
newAuthenticator(InetSocketAddress host,
String authenticator)
The
Authenticator to use when connecting to host |
public Authenticator newAuthenticator(EndPoint endPoint, String authenticator)
ExtendedAuthProvider
Authenticator
to use when connecting to endpoint
.newAuthenticator
in interface ExtendedAuthProvider
endPoint
- the Cassandra host to connect to.authenticator
- the configured authenticator on the host.public Authenticator newAuthenticator(InetSocketAddress host, String authenticator) throws AuthenticationException
AuthProvider
Authenticator
to use when connecting to host
newAuthenticator
in interface AuthProvider
newAuthenticator
in interface ExtendedAuthProvider
host
- the Cassandra host to connect to.authenticator
- the configured authenticator on the host.AuthenticationException
Copyright © 2012–2019. All rights reserved.