Dashboard Builder Security 6.0.2-SNAPSHOT

org.jboss.dashboard.users
Class RolesManagerImpl

java.lang.Object
  extended by org.jboss.dashboard.users.RolesManagerImpl
All Implemented Interfaces:
RolesManager

@ApplicationScoped
public class RolesManagerImpl
extends Object
implements RolesManager

Manager class for the platform roles.


Field Summary
protected  Application application
           
protected  Role roleAnonymous
           
protected  Map<String,Role> roleMap
           
protected  String[] rolesConfig
           
 
Constructor Summary
RolesManagerImpl()
           
 
Method Summary
 Set<Role> getAllRoles()
           
 Role getRoleById(String id)
           
 void init()
           
protected  void registerRolesFromConfig()
           
protected  void registerRolesFromWebXml(File webXml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

application

@Inject
protected Application application

rolesConfig

@Inject
protected String[] rolesConfig

roleMap

protected transient Map<String,Role> roleMap

roleAnonymous

protected transient Role roleAnonymous
Constructor Detail

RolesManagerImpl

public RolesManagerImpl()
Method Detail

init

@PostConstruct
public void init()

registerRolesFromConfig

protected void registerRolesFromConfig()

registerRolesFromWebXml

protected void registerRolesFromWebXml(File webXml)

getRoleById

public Role getRoleById(String id)
Specified by:
getRoleById in interface RolesManager

getAllRoles

public Set<Role> getAllRoles()
Specified by:
getAllRoles in interface RolesManager

Dashboard Builder Security 6.0.2-SNAPSHOT

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.