com.ibm.di.plugin.security.authentication
Class ClientAuth

java.lang.Object
  extended by com.ibm.di.plugin.security.authentication.ClientAuth

public class ClientAuth
extends Object

Mutual authentication between the proxy and a client. A client can be either the plug-in module of a Password Synchronizer or an administration tool. This class handles the authentication protocol from the client side.


Constructor Summary
ClientAuth()
           
 
Method Summary
static boolean authenticate(Socket socket, String authFolder, PWSyncLog log)
           Perform mutual authentication between the proxy and a client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientAuth

public ClientAuth()
Method Detail

authenticate

public static boolean authenticate(Socket socket,
                                   String authFolder,
                                   PWSyncLog log)

Perform mutual authentication between the proxy and a client. This method handles the client side of the protocol.

Parameters:
socket - A connection to the client.
authFolder - Authentication folder.
log - Logger.
Returns:
Whether the authentication succeeded.
See Also:
ProxyAuth.authenticate(Socket, String, PWSyncLog)