java.lang.Object | ||
↳ | org.springframework.security.authentication.encoding.BasePasswordEncoder | |
↳ | org.springframework.security.authentication.encoding.PlaintextPasswordEncoder |
Plaintext implementation of PasswordEncoder.
As callers may wish to extract the password and salts separately from the encoded password, the salt must not contain reserved characters (specifically '{' and '}').
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Demerges the previously
encodePassword(String, Object) String . | |||||||||||
Indicates whether the password comparison is case sensitive.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.authentication.encoding.BasePasswordEncoder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.authentication.encoding.PasswordEncoder
|
Demerges the previously encodePassword(String, Object)
String
.
The resulting array is guaranteed to always contain two elements. The first is the password, and the second is the salt.
Throws an exception if null
or an empty String
is passed to the method.
password | from encodePassword(String, Object) |
---|
Indicates whether the password comparison is case sensitive.
Defaults to false
, meaning
an exact case match is required.
ignorePasswordCase | set to true for less stringent comparison
|
---|