public interface UserManager
Modifier and Type | Method and Description |
---|---|
void |
changePassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes the password for the specific user.
|
java.util.Map<org.springframework.security.core.userdetails.UserDetails,java.lang.String> |
resetPasswords(java.util.Set<org.springframework.security.core.userdetails.UserDetails> users)
Changes the password for the specific user.
|
void |
resetRememberMe(java.util.Collection<org.springframework.security.core.userdetails.UserDetails> users)
Resets 'remember me' token for the specific user.
|
void changePassword(java.lang.String userName, @Nullable java.lang.String oldPassword, @Nullable java.lang.String newPassword) throws PasswordNotMatchException
userName
- - users loginoldPassword
- - non encoded old users passwordnewPassword
- - non encoded new users passwordPasswordNotMatchException
- if the oldPassword is not null and the oldPassword does not equal to the current password or
if the oldPassword is null and the newPassword does equal the current passwordjava.util.Map<org.springframework.security.core.userdetails.UserDetails,java.lang.String> resetPasswords(java.util.Set<org.springframework.security.core.userdetails.UserDetails> users)
users
- - users which need reset passwordsvoid resetRememberMe(java.util.Collection<org.springframework.security.core.userdetails.UserDetails> users)
users
- - users which need reset 'remember me' token