Package hec.security
Class UserProfile
java.lang.Object
hec.security.UserProfile
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserProfile
(PasswordEntry pe, String userId) UserProfile
(UserProfile copy) UserProfile
(String userId, String userName) -
Method Summary
Modifier and TypeMethodDescriptionint
get the last time the user logged in.long
getUuid()
void
setLastLoginTime
(ZonedDateTime lastLoginTime) void
toString()
-
Constructor Details
-
UserProfile
public UserProfile() -
UserProfile
-
UserProfile
-
UserProfile
- Parameters:
copy
- shallow copy of parameter UserProfile
-
-
Method Details
-
getUserName
-
getUserId
-
getPassword
-
getInvalidLoginAttempts
public int getInvalidLoginAttempts() -
getDbSessionKey
-
getServerSessionKey
public long getServerSessionKey() -
setLastLoginTime
- Parameters:
lastLoginTime
- last login time from server or database
-
getLastLoginTime
get the last time the user logged in. can be null if the user has never logged in- Returns:
- last login time from server or database
-
toString
-
getUuid
-
setUuid
-