edu.vt.middleware.password
Class HistoryRule

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

public class HistoryRule
extends AbstractDigester
implements Rule

HistoryRule contains methods for determining if a password matches one of any previous password a user has chosen. If no password history has been set or an empty history has been set, then passwords will meet this rule.

Version:
$Revision: 1724 $ $Date: 2010-10-29 13:47:59 -0400 (Fri, 29 Oct 2010) $
Author:
Middleware Services

Field Summary
 
Fields inherited from class edu.vt.middleware.password.AbstractDigester
converter, digest
 
Constructor Summary
HistoryRule()
           
 
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

HistoryRule

public HistoryRule()
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-2010 Virginia Tech. All Rights Reserved.