|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.authentication.encoding.BasePasswordEncoder
org.springframework.security.authentication.encoding.BaseDigestPasswordEncoder
org.springframework.security.authentication.encoding.MessageDigestPasswordEncoder
org.springframework.security.authentication.encoding.Md5PasswordEncoder
public class Md5PasswordEncoder
MD5 implementation of PasswordEncoder.
If a null password is presented, it will be treated as an empty String ("")
password.
As MD5 is a one-way hash, the salt can contain any characters.
This is a convenience class that extends theMessageDigestPasswordEncoder and passes MD5 as the algorithm to use.
| Constructor Summary | |
|---|---|
Md5PasswordEncoder()
|
|
| Method Summary |
|---|
| Methods inherited from class org.springframework.security.authentication.encoding.MessageDigestPasswordEncoder |
|---|
encodePassword, getAlgorithm, getMessageDigest, isPasswordValid, setIterations |
| Methods inherited from class org.springframework.security.authentication.encoding.BaseDigestPasswordEncoder |
|---|
getEncodeHashAsBase64, setEncodeHashAsBase64 |
| Methods inherited from class org.springframework.security.authentication.encoding.BasePasswordEncoder |
|---|
demergePasswordAndSalt, mergePasswordAndSalt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Md5PasswordEncoder()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||