Creating users and groups

Create users and groups and assign them roles using a user registry with a federated repository.

Before you begin

If you do not have groups and users defined or if you want to define new groups and users, proceed with the following steps. If you already have suitable groups and users defined that can match the expected roles, skip this procedure and connect users and groups to their appropriate roles when you deploy your applications.

About this task

WebSphere® Application Server uses various kinds of user registries (OS, LDAP, or Custom). You can configure a user registry with a federated repository.

The following variables in the ++HBRHLQ++.SHBRPARM(HBRINST) member create the specified users and groups in the local repository, which map to the Rule Execution Server console and Decision Center in WebSphere Application Server.

Table 1. Variables for users and groups
Variable Default value Description
++RESADMIN++ resAdministrators The administrator user group for the Rule Execution Server.
++RESDEPLOY++ resDeployers The deployer user group for the Rule Execution Server.
++RESMONITOR++ resMonitors The monitor user group for the Rule Execution Server.
++RESADMINUSER++ resAdmin An admin user for the Rule Execution Server.
++RESDEPLOYUSER++ resDeployer A deployer user for the Rule Execution Server.
++RESMONITORUSER++ resMonitor A monitor user for the Rule Execution Server.
++RTSADMIN++ rtsAdministrator The administrators user group for Decision Center.
++RTSCONFIG++ rtsConfigManager The configuration user group for Decision Center.
++RTSUSER++ rtsUser The users user group for Decision Center.
++RTSINSTALLER++ rtsInstaller The installers user group for Decision Center.
++RTSADMINUSER++ rtsAdmin An administrator for Decision Center.
++RTSCONFIGUSER++ rtsConfig A configuration user for Decision Center.
++RTSUSERUSER++ rtsUser1 A user for Decision Center.

In most cases, the default values are sufficient, but if you want to use custom groups and add other users you can change these values. The user passwords are set to the same as the user id. You can add new users or edit these users in the WebSphere Application Server console under Users and Groups.

Any user of Decision Center must belong to at least one of the mandatory groups rtsAdministrator, rtsConfigManager, rtsInstaller, or rtsUser. Adherence to these groups determines the parts of Decision Center that a user can access. You must create all these groups in the application server. For testing purposes, also create a default user and password for each of these groups.

Note:
  • If you do not have groups and users defined or if you want define new groups and users, proceed through the steps below.
  • If you already have groups and users defined that can match the expected role, you will connect them to the roles during the application deployment.

Procedure

To configure a user registry with a federated repository:

  1. Log in to the Integrated Solutions Console.
  2. In the side panel open Security  > Global security.
  3. Configure security as follows:
    • If Federated repositories is already selected under Current realm definition, make sure that Enable application security is selected. If you select Enable application security, you must click Apply and Save to save the changes to the master configuration.
    • If Federated repositories is not already selected, click Security Configuration Wizard and complete the wizard as follows:
    1. In Step 1, to specify the level of protection, select Enable application security and click Next.
    2. In Step 2, select Federated repositories and click Next.
    3. In Step 3, type the name in the Primary administrative user name field and websphere in the Password field, and then click Next.
    4. In Step 4, review the security configuration summary and click Finish.
    5. Click Save to save the changes to the master configuration.
    6. Restart WebSphere Application Server.

      You must log into the Integrated Solutions Console as the primary administrative user. The secure port is used, for example https://example.hursley.ibm.com:1234/ibm/console/logon.jsp

  4. In the side panel open Users and Groups  > Manage Groups, and click Create.
  5. Enter resAdministrators as the group name and click Create.
  6. Click Create Like and create another group named resDeployers. Click Create.
  7. Click Create Like again and enter another group named resMonitors. Click Create. Click Close.
  8. In the side panel open Users and Groups  > Manage Users.

    Click Create.

  9. Enter resAdmin as the User ID with a password resAdmin. Also specify the given name and last name.
  10. Click Group Membership, then click Search. Select the resAdministrators group and click Add. Click Close, then click Create and Close again.
  11. Create another user named resDeployer with password resDeployer. Repeat the previous step and assign the user to the resDeployers group.

    Then create a user named resMonitor with password resMonitor. Repeat the previous step and assign the user to the resMonitors group.

  12. Create the Decision Center administrator group.
    1. Enter rtsAdministrator as the group name.
    2. Click Create.
  13. Create the configuration manager group.
    1. Click Create Like and create another group named rtsConfigManager
    2. Click Create.
  14. Create the installer group.
    1. Click Create Like again and enter another group named rtsInstaller.
    2. Click Create.
  15. Create the users group. Type a description if required. Click Create.
    1. Click Create Like again and enter another group named rtsUser
    2. Click Create.
    3. Click Close.
  16. Create an administrator user.
    1. In the side panel, open Users and Groups  > Manage Users and click Create.
    2. Enter rtsAdmin as the User ID and again rtsAdmin as a password , then the given name and last name.
    3. Define group membership.
      1. Click Group Membership, then click Search.
      2. Select the rtsAdministrator and rtsInstaller groups and click Add
      3. Click Close, then click Create, and thenClose again.
  17. Repeat 16 to create a configurator with rtsConfig as the user ID and again rtsConfig as the password and map this user to rtsConfigManager.
  18. Create a user with rtsUser1 as the user ID and password, and then assign it to the rtsUser group.
  19. Restart your application server or your deployment manager.