public interface

UserDetailsManager

implements UserDetailsService
org.springframework.security.provisioning.UserDetailsManager
Known Indirect Subclasses

Class Overview

An extension of the UserDetailsService which provides the ability to create new users and update existing ones.

Summary

Public Methods
abstract void changePassword(String oldPassword, String newPassword)
Modify the current user's password.
abstract void createUser(UserDetails user)
Create a new user with the supplied details.
abstract void deleteUser(String username)
Remove the user with the given login name from the system.
abstract void updateUser(UserDetails user)
Update the specified user.
abstract boolean userExists(String username)
Check if a user with the supplied login name exists in the system.
[Expand]
Inherited Methods
From interface org.springframework.security.core.userdetails.UserDetailsService

Public Methods

public abstract void changePassword (String oldPassword, String newPassword)

Modify the current user's password. This should change the user's password in the persistent user repository (datbase, LDAP etc).

Parameters
oldPassword current password (for re-authentication if required)
newPassword the password to change to

public abstract void createUser (UserDetails user)

Create a new user with the supplied details.

public abstract void deleteUser (String username)

Remove the user with the given login name from the system.

public abstract void updateUser (UserDetails user)

Update the specified user.

public abstract boolean userExists (String username)

Check if a user with the supplied login name exists in the system.