How to activate/enable RBAC roles in JBoss EAP 6/7?
Issue
- We need to add a User called
testUserto the RoleMonitor. So that this user has read-only access to the JBoss EAP Web Console,domain.xmllooks like :
<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.
- Restrict User to have only the read-only access to the Management Console in EAP.
Environment
- Red Hat JBoss Enterprise Application Platform(EAP)
- 6.2+
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
