| java.lang.Object | |||
| ↳ | org.springframework.security.authentication.encoding.BasePasswordEncoder | ||
| ↳ | org.springframework.security.authentication.encoding.BaseDigestPasswordEncoder | ||
| ↳ | org.springframework.security.authentication.encoding.Md4PasswordEncoder | ||
MD4 implementation of PasswordEncoder.
If a null password is presented, it will be treated as an empty String ("") password.
As MD4 is a one-way hash, the salt can contain any characters.
NOTE: This password encoder is only included for backwards compatability with legacy applications, it's not secure, don't use it for anything new!
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Encodes the rawPass using an MD4 message digest.
| |||||||||||
Takes a previously encoded password and compares it with a raw password after mixing in the salt and
encoding that value.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.authentication.encoding.BaseDigestPasswordEncoder
| |||||||||||
From class
org.springframework.security.authentication.encoding.BasePasswordEncoder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.authentication.encoding.PasswordEncoder
| |||||||||||
Encodes the rawPass using an MD4 message digest. If a salt is specified it will be merged with the password before encoding.
| rawPass | The plain text password |
|---|---|
| salt | The salt to sprinkle |
Takes a previously encoded password and compares it with a raw password after mixing in the salt and encoding that value.
| encPass | previously encoded password |
|---|---|
| rawPass | plain text password |
| salt | salt to mix into password |