parent
6f35364c5d
commit
acda921fe9
|
@ -202,10 +202,13 @@ The password package of the `spring-security-crypto` module provides support for
|
|||
[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