Granting user access by server group or host – scoped roles

In this recipe, you will learn how to grant access to a user only in a specific server-group or host. This is available only in the domain mode, obviously. This feature takes the name of scoped roles, and it comes in very handy when you need to share your environment with multiple teams such as development teams. This way, every team can actually work on its server group or dedicated host, without interfering with the other server groups or hosts.

Getting ready

To get started, let's first create an ad-hoc folder to run our WildFly. In a terminal window enter the following commands:

$ cd $WILDFLY_HOME
$ cp -a domain rbac-dmn-scp-roles

Now it's time to run our WildFly.

How to do it…

  1. Open a terminal ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.