Package hec.security

Class UserProfile

java.lang.Object
hec.security.UserProfile
All Implemented Interfaces:
Serializable

public class UserProfile extends Object implements Serializable
See Also:
  • Constructor Details

    • UserProfile

      public UserProfile()
    • UserProfile

      public UserProfile(String userId, String userName)
    • UserProfile

      public UserProfile(PasswordEntry pe, String userId)
    • UserProfile

      public UserProfile(UserProfile copy)
      Parameters:
      copy - shallow copy of parameter UserProfile
  • Method Details

    • getUserName

      public String getUserName()
    • getUserId

      public String getUserId()
    • getPassword

      public String getPassword()
    • getInvalidLoginAttempts

      public int getInvalidLoginAttempts()
    • getDbSessionKey

      public String getDbSessionKey()
    • getServerSessionKey

      public long getServerSessionKey()
    • setLastLoginTime

      public void setLastLoginTime(ZonedDateTime lastLoginTime)
      Parameters:
      lastLoginTime - last login time from server or database
    • getLastLoginTime

      public Optional<ZonedDateTime> 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

      public String toString()
      Overrides:
      toString in class Object
    • getUuid

      public String getUuid()
    • setUuid

      public void setUuid(String uuid)