com.hazelcast.client.impl
Class ClusterAuthenticator
java.lang.Object
com.hazelcast.client.impl.ClusterAuthenticator
- All Implemented Interfaces:
- Authenticator
public class ClusterAuthenticator
- extends Object
- implements Authenticator
Used to authenticate client connections to cluster as parameter to ClientConnectionManager.
- See Also:
ClientConnectionManager.getOrConnect(Address, Authenticator)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterAuthenticator
public ClusterAuthenticator(HazelcastClientInstanceImpl client,
Credentials credentials)
authenticate
public void authenticate(ClientConnection connection)
throws AuthenticationException,
IOException
- Description copied from interface:
Authenticator
- Authenticates a ClientConnection. If the call returns normally, the ClientConnection is authenticated
successfully.
- Specified by:
authenticate
in interface Authenticator
- Parameters:
connection
- the ClientConnection
- Throws:
AuthenticationException
- if the authentication failed
IOException
- if some kind of IO problem happens.
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.