public interface PasswordEncoder
|Modifier and Type||Method and Description|
Encode the raw password.
Verify the encoded password obtained from storage matches the submitted raw password after it too is encoded.
String encode(CharSequence rawPassword)
boolean matches(CharSequence rawPassword, String encodedPassword)
rawPassword- the raw password to encode and match
encodedPassword- the encoded password from storage to compare with