- Lab
- A Cloud Guru
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.
Path 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.
-
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.