com.hazelcast.client.connection
Interface Authenticator

All Known Implementing Classes:
ClientConnectionManagerImpl.ManagerAuthenticator

public interface Authenticator

The Authenticator is responsible for authenticating a ClientConnection.


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

Method Detail

auth

void auth(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 happeend.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.