Class AbstractAuthenticationHandler

    • Field Detail

      • logger

        protected final org.apache.commons.logging.Log logger
        Log for this class.
    • Constructor Detail

      • AbstractAuthenticationHandler

        public AbstractAuthenticationHandler()
    • Method Detail

      • authenticate

        public abstract void authenticate​(ConnectionHandler ch,
                                          AuthenticationCriteria ac)
                                   throws javax.naming.NamingException
        Perform an ldap authentication. Implementations should throw AuthenticationException to indicate an authentication failure. The resulting LdapContext can be retrieved from the connection handler if it is needed.
        Specified by:
        authenticate in interface AuthenticationHandler
        Parameters:
        ch - ConnectionHandler to communicate with the LDAP
        ac - AuthenticationCriteria to perform the authentication with
        Throws:
        javax.naming.NamingException - if an LDAP error occurs