update PasswordEncoder declaration
This commit is contained in:
parent
3aa7a65cb4
commit
ff15bec02d
|
@ -198,10 +198,13 @@ The password package of the spring-security-crypto module provides support for e
|
|||
[source,java]
|
||||
----
|
||||
public interface PasswordEncoder {
|
||||
String encode(CharSequence rawPassword);
|
||||
|
||||
String encode(String rawPassword);
|
||||
boolean matches(CharSequence rawPassword, String encodedPassword);
|
||||
|
||||
boolean matches(String rawPassword, String encodedPassword);
|
||||
default boolean upgradeEncoding(String encodedPassword) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in New Issue