|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anwrt.anycontent.plugins.core.users.LdapUsers
com.anwrt.anycontent.plugins.core.users.AuthenticatingLdapUsers
Use an ldap directory for getting the list of users and also authenticating
them.
This driver depends of the deploy parameters needed by the LdapUsers
extension :
LdapUsers| Nested Class Summary |
| Nested classes inherited from class com.anwrt.anycontent.plugins.core.users.LdapUsers |
LdapUsers.InvalidParameterException |
| Field Summary |
| Fields inherited from class com.anwrt.anycontent.plugins.core.users.LdapUsers |
_adminDN, _adminPasswd, _authMethod, _contextSearch, _emailAttr, _emailIsMandatory, _filter, _firstAttr, _lastAttr, _logger, _loginAttr, _scope, _url, _useSSL |
| Constructor Summary | |
AuthenticatingLdapUsers()
|
|
| Method Summary | |
boolean |
authenticate(java.lang.String login,
java.lang.String password)
Authenticate a user with a pair of login / password. |
protected java.lang.String |
getUserDN(java.lang.String login)
Get the distinguished name of an user by his login. |
| Methods inherited from class com.anwrt.anycontent.plugins.core.users.LdapUsers |
_cleanup, _entryToSAX, _errorInitialization, _getAttributes, _getContextEnv, _getDeployParameter, _getPatternFilter, _getSearchConstraint, _isInitialized, _toSAXInternal, configure, defaultValuesToSAX, getPrincipal, getUsers, initialize, setContextSearch, toSAX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.anwrt.anycontent.extensions.users.Users |
configure, defaultValuesToSAX, getPrincipal, getUsers, initialize, toSAX |
| Constructor Detail |
public AuthenticatingLdapUsers()
| Method Detail |
public boolean authenticate(java.lang.String login,
java.lang.String password)
AuthenticableBaseUsers
authenticate in interface AuthenticableBaseUserslogin - Login of the user.password - Password to test in plain text.
protected java.lang.String getUserDN(java.lang.String login)
login - Login of the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||