edu.vt.middleware.password
Class RepeatCharacterRegexRule

java.lang.Object
  extended by edu.vt.middleware.password.RegexRule
      extended by edu.vt.middleware.password.RepeatCharacterRegexRule
All Implemented Interfaces:
Rule

public class RepeatCharacterRegexRule
extends RegexRule

Rule for determining if a password contains a duplicate ASCII keyboard sequence. See Pattern /p{ASCII}. The default sequence length is 5 characters.

Version:
$Revision: 1920 $ $Date: 2011-04-21 11:17:30 -0400 (Thu, 21 Apr 2011) $
Author:
Middleware Services

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
ERROR_CODE, pattern
 
Constructor Summary
RepeatCharacterRegexRule()
          Creates a new repeat character regex rule with the default sequence length.
RepeatCharacterRegexRule(int sl)
          Creates a new repeat character regex rule.
 
Method Summary
 
Methods inherited from class edu.vt.middleware.password.RegexRule
createRuleResultDetailParameters, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_SEQUENCE_LENGTH

public static final int DEFAULT_SEQUENCE_LENGTH
Default length of sequence, value is 5.

See Also:
Constant Field Values

MINIMUM_SEQUENCE_LENGTH

public static final int MINIMUM_SEQUENCE_LENGTH
Minimum length of sequence, value is 3.

See Also:
Constant Field Values
Constructor Detail

RepeatCharacterRegexRule

public RepeatCharacterRegexRule()
Creates a new repeat character regex rule with the default sequence length.


RepeatCharacterRegexRule

public RepeatCharacterRegexRule(int sl)
Creates a new repeat character regex rule.

Parameters:
sl - sequence length


Copyright © 2003-2011 Virginia Tech. All Rights Reserved.