public interface UserDetailsPasswordService
UserDetails
password.Modifier and Type | Method and Description |
---|---|
UserDetails |
updatePassword(UserDetails user,
java.lang.String newPassword)
Modify the specified user's password.
|
UserDetails updatePassword(UserDetails user, java.lang.String newPassword)
user
- the user to modify the password fornewPassword
- the password to change to, encoded by the configured
PasswordEncoder