How can I configure JBoss EAP 6 to map role names when the role mapping is defined in a deployment descriptor?

Solution Verified - Updated -

Issue

We would like override our rolenames by declaring our mapping in an descriptor like jboss-web.xml and not in an key-value resource file.

The security documentation mentions the Authorization and Mapping managers but only defines the Code/Classnames.

How should we configure our security-domain for reading the mapping from a descriptor file?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.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