edu.vt.middleware.password
Class WhitespaceRule

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

public class WhitespaceRule
extends java.lang.Object
implements Rule

WhitespaceRule contains methods for determining if a password contains whitespace characters.

Version:
$Revision: 1841 $ $Date: 2011-02-25 14:05:47 -0500 (Fri, 25 Feb 2011) $
Author:
Middleware Services

Constructor Summary
WhitespaceRule()
           
 
Method Summary
 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, toString, wait, wait, wait
 

Constructor Detail

WhitespaceRule

public WhitespaceRule()
Method Detail

validate

public RuleResult validate(PasswordData passwordData)
This returns whether or not the supplied password data meets the requirements of this rule.

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


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