Interface UserDetailsPasswordService

    • Method Detail

      • updatePassword

        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 (database, LDAP etc).
        user - the user to modify the password for
        newPassword - the password to change to, encoded by the configured PasswordEncoder
        the updated UserDetails with the new password