Class LockedInfo

java.lang.Object
com.sas.lsaf.security.user.LockedInfo
All Implemented Interfaces:
Serializable

public class LockedInfo extends Object implements Serializable
Account lock information detailing whether the user account is currently locked, by whom, and when.
Since:
1.2
See Also:
  • Constructor Details

    • LockedInfo

      public LockedInfo(boolean locked, String lockedBy, Date lockedDate)
      Constructor.
      Parameters:
      locked - the Boolean value that indicates whether the user account is locked.
      lockedBy - the identity of the person who locked the user account.
      lockedDate - the date that the user account was locked.
  • Method Details

    • isLocked

      public boolean isLocked()
      Gets the Boolean value that indicates whether the user account is locked.
      Returns:
      The Boolean value that indicates whether the user account is locked.
    • setLocked

      public void setLocked(boolean locked)
      Sets the Boolean value that indicates if the user account is locked.
      Parameters:
      locked - The Boolean value that indicates if the user account is locked.
    • getLockedBy

      public String getLockedBy()
      Gets the identity of the person who locked this user account.
      Returns:
      The identity of the person who locked this user account.
    • getLockedDate

      public Date getLockedDate()
      Gets the date the user account was locked.
      Returns:
      The date the user account was locked.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object