Class LDAPAuthenticator

java.lang.Object
com.logicaldoc.core.security.authentication.AbstractAuthenticator
com.logicaldoc.ldap.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 Details

    • LDAPAuthenticator

      public LDAPAuthenticator()
  • Method Details

    • setSynchroniser

      public void setSynchroniser(LDAPSynchroniser synchroniser)
    • setServerDAO

      public void setServerDAO(LDAPServerDAO serverDAO)
    • setUserDAO

      public void setUserDAO(com.logicaldoc.core.security.user.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.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)
    • pickUser

      public com.logicaldoc.core.security.user.User pickUser(String username)