public class LuteceDefaultAdminUserDAO extends Object implements ILuteceDefaultAdminUserDAO
Constructor and Description |
---|
LuteceDefaultAdminUserDAO() |
Modifier and Type | Method and Description |
---|---|
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.
|
IPassword |
loadPassword(String strAccessCode)
Load the stored password
|
void |
store(String strAccessCode,
IPassword password)
Store the user password
|
void |
updateResetPassword(LuteceDefaultAdminUser user,
boolean bIsPasswordReset)
Set the reset password attribute of the user
|
public LuteceDefaultAdminUser load(String strAccessCode, AdminAuthentication authenticationService)
load
in interface ILuteceDefaultAdminUserDAO
strAccessCode
- The access code of userauthenticationService
- The AdminAuthenticationpublic void updateResetPassword(LuteceDefaultAdminUser user, boolean bIsPasswordReset)
updateResetPassword
in interface ILuteceDefaultAdminUserDAO
user
- User to updatebIsPasswordReset
- New value of the reset password attributepublic IPassword loadPassword(String strAccessCode)
ILuteceDefaultAdminUserDAO
loadPassword
in interface ILuteceDefaultAdminUserDAO
strAccessCode
- The name of the userpublic void store(String strAccessCode, IPassword password)
ILuteceDefaultAdminUserDAO
store
in interface ILuteceDefaultAdminUserDAO
strAccessCode
- The name of the userpassword
- the password to storeCopyright © 2020 City of Paris. All rights reserved.