org.onebusaway.users.services
Interface StandardAuthoritiesService
public interface StandardAuthoritiesService
ANONYMOUS
static final String ANONYMOUS
- See Also:
- Constant Field Values
USER
static final String USER
- See Also:
- Constant Field Values
ADMINISTRATOR
static final String ADMINISTRATOR
- See Also:
- Constant Field Values
STANDARD_AUTHORITIES
static final List<String> STANDARD_AUTHORITIES
- This should be the only place where the standard authorities for the app
are defined
getNameBasedAuthority
org.springframework.security.GrantedAuthority getNameBasedAuthority(String name)
- Get the GrantedAuthority used by Spring Security for the role by name
- Parameters:
name
- Role name like USER
- Returns:
- Spring Security authority
getUserRoleForName
UserRole getUserRoleForName(String name)
getAnonymousRole
UserRole getAnonymousRole()
getUserRole
UserRole getUserRole()
getAdministratorRole
UserRole getAdministratorRole()
Copyright © 2012 OneBusAway. All Rights Reserved.