Class LuteceDefaultAdminUserDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.authentication.LuteceDefaultAdminUserDAO
-
- All Implemented Interfaces:
ILuteceDefaultAdminUserDAO
public class LuteceDefaultAdminUserDAO extends java.lang.Object implements ILuteceDefaultAdminUserDAO
This class provides Data Access methods for LuteceDefaultAdminUser objects
-
-
Constructor Summary
Constructors Constructor Description LuteceDefaultAdminUserDAO()
-
Method Summary
All Methods Instance Methods Concrete 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
-
load
public 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.- Specified by:
loadin interfaceILuteceDefaultAdminUserDAO- Parameters:
strAccessCode- The access code of userauthenticationService- The AdminAuthentication- Returns:
- user The instance of an LuteceDefaultAdminUser's object
-
updateResetPassword
public void updateResetPassword(LuteceDefaultAdminUser user, boolean bIsPasswordReset)
Set the reset password attribute of the user- Specified by:
updateResetPasswordin interfaceILuteceDefaultAdminUserDAO- Parameters:
user- User to updatebIsPasswordReset- New value of the reset password attribute
-
loadPassword
public IPassword loadPassword(java.lang.String strAccessCode)
Description copied from interface:ILuteceDefaultAdminUserDAOLoad the stored password- Specified by:
loadPasswordin interfaceILuteceDefaultAdminUserDAO- Parameters:
strAccessCode- The name of the user- Returns:
- the stored password
-
store
public void store(java.lang.String strAccessCode, IPassword password)Description copied from interface:ILuteceDefaultAdminUserDAOStore the user password- Specified by:
storein interfaceILuteceDefaultAdminUserDAO- Parameters:
strAccessCode- The name of the userpassword- the password to store
-
-