|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.authentication.handler.DefaultPasswordEncoder
public final class DefaultPasswordEncoder
Implementation of PasswordEncoder using message digest. Can accept any message digest that the JDK can accept, including MD5 and SHA1. Returns the equivalent Hash you would get from a Perl digest.
| Constructor Summary | |
|---|---|
DefaultPasswordEncoder(java.lang.String encodingAlgorithm)
|
|
| Method Summary | |
|---|---|
java.lang.String |
encode(java.lang.String password)
Method that actually performs the transformation of the plaintext password into the encrypted password. |
void |
setCharacterEncoding(java.lang.String characterEncoding)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPasswordEncoder(java.lang.String encodingAlgorithm)
| Method Detail |
|---|
public java.lang.String encode(java.lang.String password)
PasswordEncoder
encode in interface PasswordEncoderpassword - the password to translate
public final void setCharacterEncoding(java.lang.String characterEncoding)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||