RoleHierarchyVoter
or use a RoleHierarchyAuthoritiesMapper
to populate the
Authentication object with the additional authorities.public class UserDetailsServiceWrapper extends Object implements UserDetailsService
Constructor and Description |
---|
UserDetailsServiceWrapper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
UserDetailsService |
getWrappedUserDetailsService()
Deprecated.
|
UserDetails |
loadUserByUsername(String username)
Deprecated.
Locates the user based on the username.
|
void |
setRoleHierarchy(RoleHierarchy roleHierarchy)
Deprecated.
|
void |
setUserDetailsService(UserDetailsService userDetailsService)
Deprecated.
|
public void setRoleHierarchy(RoleHierarchy roleHierarchy)
public void setUserDetailsService(UserDetailsService userDetailsService)
public UserDetails loadUserByUsername(String username)
UserDetailsService
UserDetails
object that comes back may have a username that is of a different case than what was
actually requested..loadUserByUsername
in interface UserDetailsService
username
- the username identifying the user whose data is required.null
)public UserDetailsService getWrappedUserDetailsService()