|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anwrt.anycontent.plugins.core.users.JdbcUsers
com.anwrt.anycontent.plugins.core.users.AuthenticatingJdbcUsers
Use a jdbc driver for getting the list of users and also authenticating them.
Passwords need to be encrypted with MD5 and encoded in base64.
This driver depends of the deploy parameters needed by the JdbcUsers
extension plus this parameter :
users.jdbc.passwdColumn: Name of the password column; String
JdbcUsers| Nested Class Summary |
| Nested classes inherited from class com.anwrt.anycontent.plugins.core.users.JdbcUsers |
JdbcUsers.InvalidParameterException |
| Field Summary | |
protected java.lang.String |
_passwdColumn
Name of the password column. |
| Fields inherited from class com.anwrt.anycontent.plugins.core.users.JdbcUsers |
_emailColumn, _firstColumn, _lastColumn, _logger, _loginColumn, _tableName |
| Constructor Summary | |
AuthenticatingJdbcUsers()
|
|
| Method Summary | |
boolean |
authenticate(java.lang.String login,
java.lang.String password)
Authenticate a user with a pair of login / password. |
void |
initialize()
Initialize the plugin with deploy parameters. |
| Methods inherited from class com.anwrt.anycontent.plugins.core.users.JdbcUsers |
cleanup, configure, defaultValuesToSAX, errorInitialization, getConnectionPool, getDeployParameter, getPrincipal, getUsers, getUsersCount, isInitialize, resultSetToSAX, toSAX, toSAXInternal, useCore |
| 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, toSAX |
| Field Detail |
protected java.lang.String _passwdColumn
| Constructor Detail |
public AuthenticatingJdbcUsers()
| Method Detail |
public void initialize()
Users
initialize in interface Usersinitialize in class JdbcUsers
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||