com.sas.hls.security.user
Class PasswordInfo

java.lang.Object
  extended by com.sas.hls.security.user.PasswordInfo
All Implemented Interfaces:
Serializable

public class PasswordInfo
extends Object
implements Serializable

A data transfer object with information about a user's password.

See Also:
Serialized Form

Constructor Summary
PasswordInfo()
          Zero-arg constructor for PasswordInfo.
 
Method Summary
 PasswordInfo clone()
          Create and return a copy of this object.
 Date getCreated()
          Get the created date of this password.
 Date getExpiration()
          Get the expiration date for this password.
 boolean getExpired()
          Get the boolean value representing if this password is expired.
 boolean isExpired()
          Return the boolean value representing if this password is expired.
 void setCreated(Date created)
          Set the created date for this password.
 void setExpiration(Date expiration)
          Set the expiration date for this password.
 void setExpired(boolean expired)
          Set this password as expired or not.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordInfo

public PasswordInfo()
Zero-arg constructor for PasswordInfo.

Method Detail

getCreated

public Date getCreated()
Get the created date of this password.

Returns:
The date this password was created.

setCreated

public void setCreated(Date created)
Set the created date for this password.

Parameters:
created - The creation date to set.

getExpiration

public Date getExpiration()
Get the expiration date for this password.

Returns:
The expiration date of this password.

setExpiration

public void setExpiration(Date expiration)
Set the expiration date for this password.

Parameters:
expiration - The expiration date to set for this password.

isExpired

public boolean isExpired()
Return the boolean value representing if this password is expired.

Returns:
The boolean value representing if this password has expired.

getExpired

public boolean getExpired()
Get the boolean value representing if this password is expired.

Returns:
The boolean value representing if this password has expired.

setExpired

public void setExpired(boolean expired)
Set this password as expired or not.

Parameters:
expired -

clone

public PasswordInfo clone()
                   throws CloneNotSupportedException
Create and return a copy of this object.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException
See Also:
Object.clone()

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA