public interface PasswordEncoder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encode(java.lang.String rawPassword) |
boolean |
matches(java.lang.String rawPassword,
java.lang.String encodedPassword) |
java.lang.String encode(java.lang.String rawPassword)
rawPassword
- The plain text passwordboolean matches(java.lang.String rawPassword, java.lang.String encodedPassword)
rawPassword
- The plain text passwordencodedPassword
- The encoded password to match against