Class LuteceDefaultAdminUser
java.lang.Object
fr.paris.lutece.portal.business.user.AdminUser
fr.paris.lutece.portal.business.user.authentication.LuteceDefaultAdminUser
- All Implemented Interfaces:
fr.paris.lutece.api.user.User,fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource,Serializable
Admin user implementation for database authentication module
- See Also:
-
Field Summary
Fields inherited from class fr.paris.lutece.portal.business.user.AdminUser
ACTIVE_CODE, ANONYMIZED_CODE, EXPIRED_CODE, NOT_ACTIVE_CODE, RESOURCE_TYPE, USER_REALM -
Constructor Summary
ConstructorsConstructorDescriptionConstructorLuteceDefaultAdminUser(String strUserName, AdminAuthentication authenticationService) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the password validity dateReturns the Last Password.Returns the PasswordvoidsetDateValidityPassword(Date dateValidityPassword) Sets the password validity datevoidsetLastPassword(String strLastPassword) Sets the Last Password.voidsetPassword(IPassword password) Sets the passwordMethods inherited from class fr.paris.lutece.portal.business.user.AdminUser
addRoles, checkRight, getAccessCode, getAccessibilityMode, getAccountMaxValidDate, getAuthenticationService, getAuthenticationType, getDateLastLogin, getDefaultDateLastLogin, getEmail, getFirstName, getLastName, getLocale, getPasswordMaxValidDate, getRealm, getRealStatus, getRights, getRoles, getStatus, getUserId, getUserInfo, getUserLevel, getUserRoles, getUserWorkgroups, getWorkgroup, getWorkgroupKey, hasRights, isAdmin, isInRole, isParent, isPasswordReset, isStatusActive, isStatusAnonymized, setAccessCode, setAccessibilityMode, setAccountMaxValidDate, setAuthenticationService, setAuthenticationType, setDateLastLogin, setEmail, setFirstName, setLastName, setLocale, setPasswordMaxValidDate, setPasswordReset, setRights, setRoles, setStatus, setUserId, setUserInfo, setUserLevel, setUserWorkgroups, setWorkgroupKey, updateRight
-
Constructor Details
-
LuteceDefaultAdminUser
public LuteceDefaultAdminUser()Constructor -
LuteceDefaultAdminUser
Constructor- Parameters:
strUserName- The userauthenticationService- The authentication service
-
-
Method Details
-
getPassword
Returns the Password- Returns:
- The Password.
-
setPassword
Sets the password- Parameters:
password- The Password
-
getDateValidityPassword
Returns the password validity date- Returns:
- The password validity date
-
setDateValidityPassword
Sets the password validity date- Parameters:
dateValidityPassword- The password validity date
-
getLastPassword
Returns the Last Password.- Returns:
- The Last Password.
-
setLastPassword
Sets the Last Password.- Parameters:
strLastPassword- The Last Password.
-