Package com.logicaldoc.ldap
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.logicaldoc.core.security.user.Userauthenticate(String name, String password) booleancanAuthenticateUser(String user) com.logicaldoc.core.security.user.UservoidsetNotValidatedUsers(List<String> notValidatedUsers) voidsetServerDAO(LDAPServerDAO serverDAO) voidsetSynchronizer(LDAPSynchronizer synchronizer) voidsetUserDAO(com.logicaldoc.core.security.user.UserDAO userDAO) Methods inherited from class com.logicaldoc.core.security.authentication.AbstractAuthenticator
authenticate, authenticate, isEnabled
-
Constructor Details
-
LDAPAuthenticator
public LDAPAuthenticator()
-
-
Method Details
-
setSynchronizer
-
setServerDAO
-
setUserDAO
public void setUserDAO(com.logicaldoc.core.security.user.UserDAO userDAO) -
canAuthenticateUser
- Specified by:
canAuthenticateUserin interfacecom.logicaldoc.core.security.authentication.Authenticator- Overrides:
canAuthenticateUserin classcom.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
-
pickUser
-