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

Managing users, groups, and their role mapping

In this recipe, you will learn how to manage users, groups, and their relative mapping to the WildFly roles. We will perform most of the tasks from within the Web Console.

Getting ready

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

$ cd $WILDFLY_HOME
$ cp -a standalone rbac-std-node-2

Now it's time to run our WildFly.

How to do it…

  1. Open a terminal window and enter the following commands:
    $ cd $WILDFLY_HOME
    $ ./bin/standalone.sh -Djboss.server.base.dir=rbac-std-node-2
  2. Once started, connect to the CLI and switch to the RBAC provider in a new terminal window as we did in the previous recipe:
    $ cd $WILDFLY_HOME $ ./bin/jboss-cli.sh ...

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