O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required