public class ClusterAuthenticator extends Object implements Authenticator
com.hazelcast.client.connection.ClientConnectionManager#getOrConnect(Address, Authenticator)
Constructor and Description |
---|
ClusterAuthenticator(HazelcastClientInstanceImpl client,
Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(ClientConnection connection)
Authenticates a ClientConnection.
|
public ClusterAuthenticator(HazelcastClientInstanceImpl client, Credentials credentials)
public void authenticate(ClientConnection connection) throws AuthenticationException, IOException
Authenticator
authenticate
in interface Authenticator
connection
- the ClientConnectionAuthenticationException
- if the authentication failedIOException
- if some kind of IO problem happens.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.