Interface ReactiveUserDetailsPasswordService
-
- All Known Implementing Classes:
MapReactiveUserDetailsService
public interface ReactiveUserDetailsPasswordService
An API for changing aUserDetails
password.- Since:
- 5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<UserDetails>
updatePassword(UserDetails user, java.lang.String newPassword)
Modify the specified user's password.
-
-
-
Method Detail
-
updatePassword
reactor.core.publisher.Mono<UserDetails> updatePassword(UserDetails user, java.lang.String newPassword)
Modify the specified user's password. This should change the user's password in the persistent user repository (datbase, LDAP etc).- Parameters:
user
- the user to modify the password fornewPassword
- the password to change to- Returns:
- the updated UserDetails with the new password
-
-