edu.vt.middleware.password
Class SourceRule

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

public class SourceRule
extends AbstractDigester
implements Rule

SourceRule contains methods for determining if a password matches a password from a different source. Useful for when separate systems cannot have matching passwords. If no sources have been set or an empty source has been set, then passwords will meet this rule.

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

Field Summary
 
Fields inherited from class edu.vt.middleware.password.AbstractDigester
converter, digest
 
Constructor Summary
SourceRule()
           
 
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 edu.vt.middleware.password.AbstractDigester
setDigest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceRule

public SourceRule()
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.