- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Enabling RBAC for JBoss EAP
Using JBoss EAP for deploying, managing, and creating Java applications means that a variety of users will need access to JBoss's services and consoles. While JBoss EAP itself provides a simple user script, this often leaves too many security concerns open. Instead, Role-Based Access Control (RBAC) can be used to fine-tune access for JBoss EAP itself and any supported applications.

Lab Info
Table of Contents
-
Challenge
Create a Management User
-
Move into the JBoss home directory.
-
Create a
cloud-user
to whom we will grant SuperUser permissions.
-
-
Challenge
Enable RBAC Through the CLI
-
Start the JBoss CLI.
-
From here, we can interact with our JBoss setup as we would any virtual machine.
-
Move into the authorization node.
-
Change the provider to RBAC.
-
-
Challenge
Grant SuperUser Permissions
-
While still using the JBoss CLI, grant the
cloud-user
SuperUser privileges. -
Exit the CLI.
-
Restart JBoss.
-
-
Challenge
Add a User via the Management Interface
-
Access the management interface at
<PUBLIC_IP>:9990
and log in as thecloud-user
. -
In Access Control, click Start.
-
From the left menu, click Users.
-
Click the plus sign to add a user.
-
In the Add User window, set the following values:
- Name: louise
- Include: SuperUser
-
Leave the rest as their defaults and click Add.
-
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.