How can I configure JBoss SOA-P to use a custom authorization module?

Solution Unverified - Updated -

Issue

  • How can I configure JBoss SOA-P to use a custom authorization module?
  • I added a custom authorization module to my security domain configuration in server/$PROFILE/conf/login-config.xml, but the authorization module is not getting called:
<application-policy name = "esbtest">
  <authentication>
    <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">
      <module-option name="usersProperties">props/users.properties</module-option>
      <module-option name="rolesProperties">props/roles.properties</module-option>
    </login-module>
  </authentication>
  <authorization>
    <policy-module code="com.redhat.test.CustomAuthorizationModule" flag="required"/>
  </authorization>
</application-policy>

Environment

  • Red Hat JBoss SOA Platform (SOA-P)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.