Interface UserDetailsManager
- All Superinterfaces:
- UserDetailsService
- All Known Implementing Classes:
- InMemoryUserDetailsManager,- JdbcUserDetailsManager,- LdapUserDetailsManager
An extension of the 
UserDetailsService which provides the ability to create new
 users and update existing ones.- Since:
- 2.0
- 
Method SummaryModifier and TypeMethodDescriptionvoidchangePassword(String oldPassword, String newPassword) Modify the current user's password.voidcreateUser(UserDetails user) Create a new user with the supplied details.voiddeleteUser(String username) Remove the user with the given login name from the system.voidupdateUser(UserDetails user) Update the specified user.booleanuserExists(String username) Check if a user with the supplied login name exists in the system.Methods inherited from interface org.springframework.security.core.userdetails.UserDetailsServiceloadUserByUsername
- 
Method Details- 
createUserCreate a new user with the supplied details.
- 
updateUserUpdate the specified user.
- 
deleteUserRemove the user with the given login name from the system.
- 
changePasswordModify the current user's password. This should change the user's password in the persistent user repository (database, LDAP etc).- Parameters:
- oldPassword- current password (for re-authentication if required)
- newPassword- the password to change to
 
- 
userExistsCheck if a user with the supplied login name exists in the system.
 
-