public class RoleBasedUserService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
UserDetailsService
and populates privileged authorities.
ROLE_ADMIN
: MANAGE GRID, MANAGE PU, PROVISION PU, MONITOR JVM, MONITOR PU, SPACE READ.ROLE_DEVELOPER
: PROVISION PU, MONITOR PU, SPACE READ.ROLE_ANALYST
: MONITOR PU, SPACE READ.Constructor and Description |
---|
RoleBasedUserService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
Map<String,String> roles) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String user) |
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String user) throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserByUsername
in interface org.springframework.security.core.userdetails.UserDetailsService
org.springframework.security.core.userdetails.UsernameNotFoundException
Copyright © GigaSpaces.