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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content