Activate/enable/configure RBAC roles in JBoss EAP 6 / 7
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.
-
Browser console errors similar to
o.j.h.m.security.AuthorisationDecision No security context found for executable(server-group=main-server-group:reload-servers)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
- Role-based Access Control (RBAC)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.