pl.edu.icm.yadda.service2.user.hashing
Class PassthroughPasswordHasher
java.lang.Object
pl.edu.icm.yadda.service2.user.hashing.PassthroughPasswordHasher
- All Implemented Interfaces:
- IPasswordHasher
public class PassthroughPasswordHasher
- extends Object
- implements IPasswordHasher
Password hasher simply passing through source password.
- Author:
- mhorst
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassthroughPasswordHasher
public PassthroughPasswordHasher()
hash
public String hash(String source)
- Specified by:
hash
in interface IPasswordHasher
validate
public boolean validate(String hashed,
String candidate)
- Specified by:
validate
in interface IPasswordHasher
Copyright © 2002-2013 ICM, Warsaw University. All Rights Reserved.