Interface ILuteceDefaultAdminUserDAO
-
- All Known Implementing Classes:
LuteceDefaultAdminUserDAO
public interface ILuteceDefaultAdminUserDAO- Author:
- lenaini
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LuteceDefaultAdminUserload(java.lang.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.IPasswordloadPassword(java.lang.String strAccessCode)Load the stored passwordvoidstore(java.lang.String strAccessCode, IPassword password)Store the user passwordvoidupdateResetPassword(LuteceDefaultAdminUser user, boolean bIsPasswordReset)Set the reset password attribute of the user
-
-
-
Method Detail
-
loadPassword
IPassword loadPassword(java.lang.String strAccessCode)
Load the stored password- Parameters:
strAccessCode- The name of the user- Returns:
- the stored password
-
load
LuteceDefaultAdminUser load(java.lang.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.- Parameters:
strAccessCode- The access code of userauthenticationService- The AdminAuthentication- Returns:
- user The instance of an LuteceDefaultAdminUser's object
-
updateResetPassword
void updateResetPassword(LuteceDefaultAdminUser user, boolean bIsPasswordReset)
Set the reset password attribute of the user- Parameters:
user- User to updatebIsPasswordReset- New value of the reset password attribute
-
store
void store(java.lang.String strAccessCode, IPassword password)Store the user password- Parameters:
strAccessCode- The name of the userpassword- the password to store
-
-