com.hs.mail.security.login
Class PlaintextPasswordEncoder
java.lang.Object
com.hs.mail.security.login.PlaintextPasswordEncoder
- All Implemented Interfaces:
- PasswordEncoder
public class PlaintextPasswordEncoder
- extends Object
- implements PasswordEncoder
Default password encoder for the case where no password encoder is needed.
Encoding results in the same password that was passed in.
- Since:
- Jul 18, 2007
- Author:
- Won Chul Doh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaintextPasswordEncoder
public PlaintextPasswordEncoder()
encode
public String encode(char[] password)
- Specified by:
encode
in interface PasswordEncoder
compare
public boolean compare(String encoded,
char[] plain)
- Specified by:
compare
in interface PasswordEncoder
Copyright © 2011. All Rights Reserved.