org.jboss.dashboard.users
Class RolesManagerImpl
java.lang.Object
org.jboss.dashboard.users.RolesManagerImpl
- All Implemented Interfaces:
- RolesManager
@ApplicationScoped
public class RolesManagerImpl
- extends Object
- implements RolesManager
Manager class for the platform roles.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
application
@Inject
protected Application application
rolesConfig
@Inject
protected String[] rolesConfig
roleMap
protected transient Map<String,Role> roleMap
roleAnonymous
protected transient Role roleAnonymous
RolesManagerImpl
public RolesManagerImpl()
init
@PostConstruct
public void init()
throws Exception
- Throws:
Exception
registerRolesFromConfig
protected void registerRolesFromConfig()
throws Exception
- Throws:
Exception
registerRolesFromWebXml
protected void registerRolesFromWebXml(File webXml)
throws Exception
- Throws:
Exception
getRoleById
public Role getRoleById(String id)
- Specified by:
getRoleById in interface RolesManager
getAllRoles
public Set<Role> getAllRoles()
- Specified by:
getAllRoles in interface RolesManager
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.