|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.PasswordData
public class PasswordData
Contains password related information used by rules to perform password validation.
| Constructor Summary | |
|---|---|
PasswordData()
Default constructor. |
|
PasswordData(Password p)
Creates a new password data. |
|
| Method Summary | |
|---|---|
Password |
getPassword()
Returns the password. |
List<String> |
getPasswordHistory()
Returns the password history. |
Map<String,String> |
getPasswordSources()
Returns the password sources. |
String |
getUsername()
Returns the username. |
static PasswordData |
newInstance(Password p,
String u,
List<String> h,
Map<String,String> s)
Convenience method for creating a password data with all of it's properties. |
void |
setPassword(Password p)
Sets the password. |
void |
setPasswordHistory(List<String> l)
Sets the password history. |
void |
setPasswordSources(Map<String,String> m)
Sets the password sources. |
void |
setUsername(String s)
Sets the username. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordData()
public PasswordData(Password p)
p - password| Method Detail |
|---|
public void setPassword(Password p)
p - passwordpublic Password getPassword()
public void setUsername(String s)
s - usernamepublic String getUsername()
public List<String> getPasswordHistory()
public void setPasswordHistory(List<String> l)
l - password historypublic Map<String,String> getPasswordSources()
public void setPasswordSources(Map<String,String> m)
m - password sources
public static PasswordData newInstance(Password p,
String u,
List<String> h,
Map<String,String> s)
p - passwordu - usernameh - historys - sources
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||