Access with authorization handled by JBoss

You must configure security access for your users.

Creating users

The Decision Center EAR file references the following predefined roles: rtsAdministrator, rtsConfigManager, rtsInstaller, and rtsUser. It is possible to create new roles through customization of the Decision Center UI, but this is an advanced topic not covered in this section.

To manage users when you want JBoss to handle both authentication and authorization, you must:
  • Map your users to one of the Decision Center roles.
  • Create a user that is mapped to both the rtsAdministrator and rtsInstaller roles. You need such a user to complete the configuration of Decision Center (create the database schema, publish a decision service, and so on) after you deploy the Decision Center EAR in the next step.
The following table summarizes roles, their use, and a user for each of the predefined roles.
Note: In JBoss, passwords must have at least one digit and one non-alphanumeric symbol.
Role Use Default user and password
rtsAdministrator Gives the user administrator access. rtsAdmin, rtsAdmin+0
rtsInstaller Gives the user access to the Installation Settings Wizard in the Enterprise console. rtsAdmin, rtsAdmin+0
rtsConfigManager Gives the user configuration manager access. rtsConfig, rtsConfig+0
rtsUser Gives a user standard access. rtsUser1, rtsUser1+0

You declare users with the JBoss add-user command.

The following procedure is a suggested configuration with a default user for each of the predefined roles:

In the <JBOSS_HOME>/bin directory, open a command prompt and run the following add-user commands:
./add-user[.sh|.bat] -a -u rtsAdmin -p rtsAdmin+0 -ro "rtsAdministrator,rtsInstaller"
./add-user[.sh|.bat] -a -u rtsConfig -p rtsConfig+0 -ro "rtsConfigManager"
./add-user[.sh|.bat] -a -u rtsUser1 -p rtsUser1+0 -ro "rtsUser"

Adding Decision Center groups

Decision Center uses groups for fine-grained security and permissions to branches and other decision service artifacts.

To use the Decision Center security and permissions mechanism, you must upload groups to the Decision Center database (see Uploading groups to the database).

JBoss associates the roles contained in the user registry with the Decision Center groups that you upload to the database.

Note: You never need to upload rtsAdministrator and rtsInstaller to the Decision Center database, because the administrator has rights to everything, and an installer user must also be mapped to another role.

You can upload the rtsUser and rtsConfigManager roles as groups, but it is error-prone to mix the predefined roles and Decision Center groups. The recommended approach is to create new groups of users.

To add a new group, you must declare it as follows:
  1. Define a new group and add it as a role, for example the Validator role.
  2. Create a user and map this user to the new role, but also to one of the predefined roles (typically rtsUser) to determine what parts of Decision Center these users can access. In the <JBOSS_HOME>/bin directory, open a command prompt and run the following add-user commands:
    ./add-user[.sh|.bat] -a -u Val -p Validator+0 -ro "rtsUser,Validator"

  3. Upload to new group to the Decision Center database.