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
-
Method Summary
Modifier and TypeMethodDescriptioncom.logicaldoc.core.security.user.User
authenticate
(String name, String password) boolean
canAuthenticateUser
(String user) com.logicaldoc.core.security.user.User
void
setNotValidatedUsers
(List<String> notValidatedUsers) void
setServerDAO
(LDAPServerDAO serverDAO) void
setSynchroniser
(LDAPSynchroniser synchroniser) void
setUserDAO
(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
-
setSynchroniser
-
setServerDAO
-
setUserDAO
public void setUserDAO(com.logicaldoc.core.security.user.UserDAO userDAO) -
canAuthenticateUser
- Specified by:
canAuthenticateUser
in interfacecom.logicaldoc.core.security.authentication.Authenticator
- Overrides:
canAuthenticateUser
in 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
-