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 Constructor Description LDAPAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.logicaldoc.core.security.User
authenticate(String name, String password)
boolean
canAuthenticateUser(String user)
com.logicaldoc.core.security.User
pickUser(String username)
void
setNotValidatedUsers(List<String> notValidatedUsers)
void
setServerDAO(LDAPServerDAO serverDAO)
void
setSynchroniser(LDAPSynchroniser synchroniser)
void
setUserDAO(com.logicaldoc.core.security.dao.UserDAO userDAO)
-
-
-
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 interfacecom.logicaldoc.core.security.authentication.Authenticator
- Overrides:
canAuthenticateUser
in classcom.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
-
pickUser
public com.logicaldoc.core.security.User pickUser(String username)
-
-