|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.SequenceRule
public class SequenceRule
SequenceRule contains methods for determining if a password
contains common keyboard sequences.
| Constructor Summary | |
|---|---|
SequenceRule()
This creates a new SequenceRule. |
|
SequenceRule(boolean mb,
boolean ic)
This will create a new SequenceRule with the supplied
matchBackwards and ignoreCase settings. |
|
| Method Summary | |
|---|---|
boolean |
isIgnoreCase()
Get the value of the ignoreCase property. |
boolean |
isMatchBackwards()
Get the value of the matchBackwards property. |
void |
setIgnoreCase(boolean b)
This causes the verify method to ignore case when searching the for a sequence. |
void |
setMatchBackwards(boolean b)
This causes the verify method to search the password for sequences spelled backwards as well as forwards. |
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 SequenceRule()
SequenceRule.
public SequenceRule(boolean mb,
boolean ic)
SequenceRule with the supplied
matchBackwards and ignoreCase settings.
mb - boolean whether to match backwardsic - boolean whether to ignore case| Method Detail |
|---|
public void setIgnoreCase(boolean b)
b - booleanpublic boolean isIgnoreCase()
booleanpublic void setMatchBackwards(boolean b)
b - booleanpublic boolean isMatchBackwards()
booleanpublic 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 | ||||||||