public class LDAPPasswordEncoderService extends DefaulPasswordEncoderService
| Constructor and Description |
|---|
LDAPPasswordEncoderService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(UserModel user,
String plainPassword)
Checks if the encoded password (stored in the user) matches the given plain text password.
|
decode, encode, getSupportedEncodings, isSupportedEncoding, isValid, setEncoderFactorypublic boolean isValid(UserModel user, String plainPassword)
PasswordEncoderServiceisValid in interface PasswordEncoderServiceisValid in class DefaulPasswordEncoderServiceuser - the user contains the encoded password and the (password) encodingplainPassword - the plain text passwordtrue if the encoded passwords matches, false otherwiseCopyright © 2017 SAP SE. All Rights Reserved.