org.clazzes.util.sec
Interface PasswordHasherFactory
- All Known Implementing Classes:
- HasherFactory
public interface PasswordHasherFactory
- Author:
- lech
Classes implementing this interface provide password hasher instances.
getPasswordHasher
PasswordHasher getPasswordHasher(java.lang.String algo_name)
- Returns an instance of a password hasher for the given algorithm name, or null if none could be found.
- Parameters:
algo_name
- Name of hasher algorithm a PasswordHasher is wished for.
- Returns:
- a passwordhasher, if possible, null otherwise.
getKnownPasswordHashers
java.util.Collection<PasswordHasher> getKnownPasswordHashers()
- Returns:
- a Collection of password hashers known to this factory.
Copyright © 2009. All Rights Reserved.