|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.RuleList
public class RuleList
RuleList contains methods for setting password rules and then
determining if a password meets the requirements of all the rules.
| Constructor Summary | |
|---|---|
RuleList()
|
|
| Method Summary | |
|---|---|
java.util.List<Rule> |
getRules()
This will return the rules being used by this RuleList. |
void |
setRules(java.util.List<Rule> l)
This will set the rules to be used by this RuleList. |
java.lang.String |
toString()
This returns a string representation of this object. |
RuleResult |
validate(PasswordData passwordData)
This returns whether or not the supplied password data meets the requirements of this rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RuleList()
| Method Detail |
|---|
public java.util.List<Rule> getRules()
RuleList.
List of rulespublic void setRules(java.util.List<Rule> l)
RuleList.
l - List of rulespublic RuleResult validate(PasswordData passwordData)
validate in interface RulepasswordData - PasswordData to verify (not null).
RuleResult - details on password verificationpublic java.lang.String toString()
toString in class java.lang.ObjectString
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||