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 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.