com.hazelcast.client.connection
Interface Authenticator

All Known Implementing Classes:
ClusterAuthenticator

public interface Authenticator

The Authenticator is responsible for authenticating a ClientConnection.


Method Summary
 void authenticate(ClientConnection connection)
          Authenticates a ClientConnection.
 

Method Detail

authenticate

void authenticate(ClientConnection connection)
                  throws AuthenticationException,
                         IOException
Authenticates a ClientConnection. If the call returns normally, the ClientConnection is authenticated successfully.

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.