Package com.datastax.driver.core
Class ExtendedAuthProvider.NoAuthProvider
- java.lang.Object
-
- com.datastax.driver.core.ExtendedAuthProvider.NoAuthProvider
-
- All Implemented Interfaces:
AuthProvider,ExtendedAuthProvider
- Enclosing interface:
- ExtendedAuthProvider
public static class ExtendedAuthProvider.NoAuthProvider extends Object implements ExtendedAuthProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.datastax.driver.core.AuthProvider
AuthProvider.TransitionalModePlainTextAuthenticator
-
Nested classes/interfaces inherited from interface com.datastax.driver.core.ExtendedAuthProvider
ExtendedAuthProvider.NoAuthProvider
-
-
Field Summary
-
Fields inherited from interface com.datastax.driver.core.AuthProvider
NONE
-
-
Constructor Summary
Constructors Constructor Description NoAuthProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticatornewAuthenticator(EndPoint endPoint, String authenticator)TheAuthenticatorto use when connecting toendpoint.AuthenticatornewAuthenticator(InetSocketAddress host, String authenticator)TheAuthenticatorto use when connecting tohost
-
-
-
Method Detail
-
newAuthenticator
public Authenticator newAuthenticator(EndPoint endPoint, String authenticator)
Description copied from interface:ExtendedAuthProviderTheAuthenticatorto use when connecting toendpoint.- Specified by:
newAuthenticatorin interfaceExtendedAuthProvider- Parameters:
endPoint- the Cassandra host to connect to.authenticator- the configured authenticator on the host.- Returns:
- The authentication implementation to use.
-
newAuthenticator
public Authenticator newAuthenticator(InetSocketAddress host, String authenticator) throws AuthenticationException
Description copied from interface:AuthProviderTheAuthenticatorto use when connecting tohost- Specified by:
newAuthenticatorin interfaceAuthProvider- Specified by:
newAuthenticatorin interfaceExtendedAuthProvider- Parameters:
host- the Cassandra host to connect to.authenticator- the configured authenticator on the host.- Returns:
- The authentication implementation to use.
- Throws:
AuthenticationException
-
-