public class LuteceDefaultAdminUserDAO extends Object implements ILuteceDefaultAdminUserDAO
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_PASSWORD |
static int |
USER_NOTFOUND |
static int |
USER_OK |
| Constructor and Description |
|---|
LuteceDefaultAdminUserDAO() |
| Modifier and Type | Method and Description |
|---|---|
int |
checkPassword(String strAccessCode,
String strPassword)
Check the password of a given user into the table provided by the database authentication module
|
LuteceDefaultAdminUser |
load(String strAccessCode,
AdminAuthentication authenticationService)
load the data of an user from the table provided by the database authentication module This only provides data specific to the database authentication module.
|
void |
updateResetPassword(LuteceDefaultAdminUser user,
boolean bIsPasswordReset)
Set the reset password attribute of the user
|
public static final int USER_NOTFOUND
public static final int INVALID_PASSWORD
public static final int USER_OK
public int checkPassword(String strAccessCode, String strPassword)
checkPassword in interface ILuteceDefaultAdminUserDAOstrAccessCode - The name of the userstrPassword - the user passwordpublic LuteceDefaultAdminUser load(String strAccessCode, AdminAuthentication authenticationService)
load in interface ILuteceDefaultAdminUserDAOstrAccessCode - The access code of userauthenticationService - The AdminAuthenticationpublic void updateResetPassword(LuteceDefaultAdminUser user, boolean bIsPasswordReset)
updateResetPassword in interface ILuteceDefaultAdminUserDAOuser - User to updatebIsPasswordReset - New value of the reset password attributeCopyright © 2015 City of Paris. All rights reserved.