java.lang.Object | |
↳ | org.springframework.security.core.userdetails.UserDetailsByNameServiceWrapper<T extends org.springframework.security.core.Authentication> |
This implementation for AuthenticationUserDetailsService wraps a regular Spring Security UserDetailsService implementation, to retrieve a UserDetails object based on the user name contained in an Authentication object.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an empty wrapper for compatibility with Spring Security 2.0.x's method of using a setter.
| |||||||||||
Constructs a new wrapper using the supplied
UserDetailsService
as the service to delegate to. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether all required properties have been set.
| |||||||||||
Get the UserDetails object from the wrapped UserDetailsService
implementation
| |||||||||||
Set the wrapped UserDetailsService implementation
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
| |||||||||||
From interface
org.springframework.security.core.userdetails.AuthenticationUserDetailsService
|
Constructs an empty wrapper for compatibility with Spring Security 2.0.x's method of using a setter.
Constructs a new wrapper using the supplied UserDetailsService
as the service to delegate to.
userDetailsService | the UserDetailsService to delegate to. |
---|
Get the UserDetails object from the wrapped UserDetailsService implementation
UsernameNotFoundException |
---|
Set the wrapped UserDetailsService implementation
aUserDetailsService | The wrapped UserDetailsService to set |
---|