Class ClientAuth


  • public class ClientAuth
    extends java.lang.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

      Constructors 
      Constructor Description
      ClientAuth()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean authenticate​(java.net.Socket socket, java.lang.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​(java.net.Socket socket,
                                           java.lang.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)