Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

18.5. Configure Security on a Per-Service Basis

  1. Open the global configuration file in a text editor: vi SOA_ROOT/jboss-as/server/PROFILE/deployers/esb.deployer/jboss-esb.xml.
  2. Scroll down to the service you want to configure.
  3. Add a security element. This setting shows you how to do so:
    <service category="Security" name="SimpleListenerSecured"> 
       <security moduleName="messaging" runAs="adminRole"
        rolesAllowed="adminRole, normalUsers"
    	    <property name="property1" value="value1"/> 
    	    <property name="property2" value="value2"/> 
  4. Save the file and exit.