Class LuteceDefaultAdminUserDAO
java.lang.Object
fr.paris.lutece.portal.business.user.authentication.LuteceDefaultAdminUserDAO
- All Implemented Interfaces:
ILuteceDefaultAdminUserDAO
@ApplicationScoped
public class LuteceDefaultAdminUserDAO
extends Object
implements ILuteceDefaultAdminUserDAO
This class provides Data Access methods for LuteceDefaultAdminUser objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload(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.loadPassword(String strAccessCode) Load the stored passwordvoidStore the user passwordvoidupdateResetPassword(LuteceDefaultAdminUser user, boolean bIsPasswordReset) Set the reset password attribute of the user
-
Constructor Details
-
LuteceDefaultAdminUserDAO
public LuteceDefaultAdminUserDAO()
-
-
Method Details
-
load
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
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
Description copied from interface:ILuteceDefaultAdminUserDAOLoad the stored password- Specified by:
loadPasswordin interfaceILuteceDefaultAdminUserDAO- Parameters:
strAccessCode- The name of the user- Returns:
- the stored password
-
store
Description copied from interface:ILuteceDefaultAdminUserDAOStore the user password- Specified by:
storein interfaceILuteceDefaultAdminUserDAO- Parameters:
strAccessCode- The name of the userpassword- the password to store
-