Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 15m
Published
Clock icon Jan 24, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Management User

    1. Move into the JBoss home directory.

    2. Create a cloud-user to whom we will grant SuperUser permissions.

  2. Challenge

    Enable RBAC Through the CLI

    1. Start the JBoss CLI.

    2. From here, we can interact with our JBoss setup as we would any virtual machine.

    3. Move into the authorization node.

    4. Change the provider to RBAC.

  3. Challenge

    Grant SuperUser Permissions

    1. While still using the JBoss CLI, grant the cloud-user SuperUser privileges.

    2. Exit the CLI.

    3. Restart JBoss.

  4. Challenge

    Add a User via the Management Interface

    1. Access the management interface at <PUBLIC_IP>:9990 and log in as the cloud-user.

    2. In Access Control, click Start.

    3. From the left menu, click Users.

    4. Click the plus sign to add a user.

    5. In the Add User window, set the following values:

      • Name: louise
      • Include: SuperUser
    6. Leave the rest as their defaults and click Add.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans