Activate/enable/configure RBAC roles in JBoss EAP 6 / 7

Solution Verified - Updated -

Issue

  • Need to give a user only specific (admin/read-only/etc) access
  • Trying to add a user to a specific management console role:

    <management>
        <access-control provider="rbac">
            <role-mapping>
                <role name="SuperUser">
                    <include>
                        <user name="$local"/>
                    </include>
                </role>
            </role-mapping>
        </access-control>
    </management>
    

    However, when trying to log into the WebConsole I get.

    Access Denied: Insufficient privileges to access this interface.
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2, 6.3, 6.4
    • 7
  • Management Console
  • Role-based Access Control (RBAC)

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