Declaring new roles

If you create new groups, you must declare an equivalent role before you deploy the EAR file.

About this task

The Decision Center EAR file references the rtsUser, rtsConfigManager, rtsAdministrator, and rtsInstaller roles. Each one of these roles has its equivalent group, which you declared to the application server in Creating users and groups.

If you created any new groups, you must declare its equivalent role before you deploy. During deployment, you map all groups to their equivalent role. You add new roles by editing the deployment descriptor files in the EAR file before deployment.
  • WebSphere® Application Server for distributed platforms: <ODM_InstallDir>/teamserver/applicationservers/WebSphere<version_number>/jrules-teamserver-WAS<version_number>.ear
  • WebSphere Application Server for z Systems™ on Linux: <++JRULESHOME++>jrules-teamserver-WAS<version_number>.ear. The <++JRULESHOME++> placeholder is your z/OS® zFS JRules installation directory.

Procedure

To add your custom roles to the Decision Center deployment descriptor:

  1. Before you modify the EAR file, create a back-up copy of the EAR file.
  2. Decompress the EAR file to extract the files that you must change.
  3. In the SECURITY - ROLE section of the teamserver.war/WEB-INF/web.xml file, add each custom role. For example:
    <security-role>
       <role-name>Validator</role-name>
    </security-role>
    <security-role>
       <role-name>Eligibility</role-name>
    </security-role>
  4. Similarly, add the roles in the decisioncenter.war/WEB-INF/web.xml file.
  5. Add each new role to the META-INF/application.xml file.
  6. Repackage the EAR (see Repackaging the Decision Center archive).

What to do next

Now that all new roles are declared, you can deploy the EAR.
Note: You must also upload groups to the Decision Center database.