|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.RegexRule
edu.vt.middleware.password.RepeatCharacterRegexRule
public class RepeatCharacterRegexRule
RepeatCharacterRegexRule contains methods for determining if a
password contains a duplicate ASCII keyboard sequence. See
Pattern /p{ASCII}. The default sequence length is 5
characters.
| Field Summary | |
|---|---|
static int |
DEFAULT_SEQUENCE_LENGTH
Default length of sequence, value is 5. |
static int |
MINIMUM_SEQUENCE_LENGTH
Minimum length of sequence, value is 3. |
| Fields inherited from class edu.vt.middleware.password.RegexRule |
|---|
pattern |
| Constructor Summary | |
|---|---|
RepeatCharacterRegexRule()
This creates a new RepeatCharacterRegexRule with the default
sequence length. |
|
RepeatCharacterRegexRule(int sl)
This creates a new RepeatCharacterRegexRule with the supplied
sequence length setting. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getRuleResultDetail(java.util.regex.Matcher m)
Returns the message to set on the rule result detail. |
| Methods inherited from class edu.vt.middleware.password.RegexRule |
|---|
toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_SEQUENCE_LENGTH
public static final int MINIMUM_SEQUENCE_LENGTH
| Constructor Detail |
|---|
public RepeatCharacterRegexRule()
RepeatCharacterRegexRule with the default
sequence length.
public RepeatCharacterRegexRule(int sl)
RepeatCharacterRegexRule with the supplied
sequence length setting.
sl - int sequence length| Method Detail |
|---|
protected java.lang.String getRuleResultDetail(java.util.regex.Matcher m)
getRuleResultDetail in class RegexRulem - Matcher that found a match
String result detail
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||