Class PasswordInfo

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

public class PasswordInfo extends Object implements Serializable
User account password information that details when the password was created, when it expires, and whether it is currently expired.
Since:
1.2
See Also:
  • Constructor Details

    • PasswordInfo

      public PasswordInfo(Date created, Date expiration, boolean expired)
      Constructor.
      Parameters:
      created - the date the password was created.
      expiration - the expiration date of the password.
      expired - the Boolean value that represents whether the password has expired.
  • Method Details

    • getCreated

      public Date getCreated()
      Gets the creation date of the password.
      Returns:
      The date the password was created.
    • getExpiration

      public Date getExpiration()
      Gets the expiration date for the password.
      Returns:
      The expiration date of the password.
    • isExpired

      public boolean isExpired()
      Returns the Boolean value that represents whether the password has expired.
      Returns:
      The Boolean value that represents whether the password has expired.
    • 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