Class LDAPAuthenticator

  • All Implemented Interfaces:
    com.logicaldoc.core.security.authentication.Authenticator

    public class LDAPAuthenticator
    extends com.logicaldoc.core.security.authentication.AbstractAuthenticator
    Abstract component used as a basis for LDAP implementations
    Since:
    4.5
    Author:
    Sebastian Wenzky
    • Constructor Detail

      • LDAPAuthenticator

        public LDAPAuthenticator()
    • Method Detail

      • setSynchroniser

        public void setSynchroniser​(LDAPSynchroniser synchroniser)
      • setServerDAO

        public void setServerDAO​(LDAPServerDAO serverDAO)
      • setUserDAO

        public void setUserDAO​(com.logicaldoc.core.security.dao.UserDAO userDAO)
      • canAuthenticateUser

        public boolean canAuthenticateUser​(String user)
        Specified by:
        canAuthenticateUser in interface com.logicaldoc.core.security.authentication.Authenticator
        Overrides:
        canAuthenticateUser in class com.logicaldoc.core.security.authentication.AbstractAuthenticator
      • authenticate

        public com.logicaldoc.core.security.User authenticate​(String name,
                                                              String password)
                                                       throws com.logicaldoc.core.security.authentication.AuthenticationException
        Throws:
        com.logicaldoc.core.security.authentication.AuthenticationException
      • setNotValidatedUsers

        public void setNotValidatedUsers​(List<String> notValidatedUsers)