java.lang.Object | |
↳ | org.springframework.security.provisioning.InMemoryUserDetailsManager |
Non-persistent implementation of UserDetailsManager
which is backed by an in-memory map.
Mainly intended for testing and demonstration purposes, where a full blown persistent system isn't required.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Modify the current user's password.
| |||||||||||
Create a new user with the supplied details.
| |||||||||||
Remove the user with the given login name from the system.
| |||||||||||
Locates the user based on the username.
| |||||||||||
Update the specified user.
| |||||||||||
Check if a user with the supplied login name exists in the system.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Modify the current user's password. This should change the user's password in the persistent user repository (datbase, LDAP etc).
oldPassword | current password (for re-authentication if required) |
---|---|
newPassword | the password to change to |
Locates the user based on the username. In the actual implementation, the search may possibly be case
insensitive, or case insensitive depending on how the implementation instance is configured. In this case, the
UserDetails
object that comes back may have a username that is of a different case than what was
actually requested..
username | the username identifying the user whose data is required. |
---|
null
)UsernameNotFoundException |
---|
Check if a user with the supplied login name exists in the system.