edu.vt.middleware.password
Class AbstractDigester
java.lang.Object
edu.vt.middleware.password.AbstractDigester
- Direct Known Subclasses:
- HistoryRule, SourceRule
public abstract class AbstractDigester
- extends java.lang.Object
AbstractDigester provides core methods for password rules that
use a digest.
- Version:
- $Revision: 1647 $ $Date: 2010-10-10 21:48:10 -0400 (Sun, 10 Oct 2010) $
- Author:
- Middleware Services
|
Field Summary |
protected edu.vt.middleware.crypt.util.Converter |
converter
converter to use in conjunction with the digest. |
protected edu.vt.middleware.crypt.digest.DigestAlgorithm |
digest
digest object to use if comparing hashed passwords. |
|
Method Summary |
void |
setDigest(java.lang.String algorithm,
edu.vt.middleware.crypt.util.Converter conv)
This will set the supplied digest algorithm to be used when password
comparison are made. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
digest
protected edu.vt.middleware.crypt.digest.DigestAlgorithm digest
- digest object to use if comparing hashed passwords.
converter
protected edu.vt.middleware.crypt.util.Converter converter
- converter to use in conjunction with the digest.
AbstractDigester
public AbstractDigester()
setDigest
public void setDigest(java.lang.String algorithm,
edu.vt.middleware.crypt.util.Converter conv)
- This will set the supplied digest algorithm to be used when password
comparison are made. Useful if you need to compare password which are in a
hashed form. See
DigestAlgorithm.
- Parameters:
algorithm - String to use for hashingconv - Converter to convert bytes to string
Copyright © 2003-2010 Virginia Tech. All Rights Reserved.