edu.vt.middleware.password
Class WhitespaceRule

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

public class WhitespaceRule
extends Object
implements Rule

Rule for determining if a password contains whitespace characters.

Version:
$Revision: 2704 $ $Date: 2013-04-24 17:30:32 -0400 (Wed, 24 Apr 2013) $
Author:
Middleware Services

Field Summary
static String ERROR_CODE
          Error code for whitespace rule violation.
 
Constructor Summary
WhitespaceRule()
           
 
Method Summary
 RuleResult validate(PasswordData passwordData)
          Validates the supplied password data per the requirements of this rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_CODE

public static final String ERROR_CODE
Error code for whitespace rule violation.

See Also:
Constant Field Values
Constructor Detail

WhitespaceRule

public WhitespaceRule()
Method Detail

validate

public RuleResult validate(PasswordData passwordData)
Validates the supplied password data per the requirements of this rule.

Specified by:
validate in interface Rule
Parameters:
passwordData - to verify (not null).
Returns:
details on password verification


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