Mapping security roles to users and groups in WebSphere Application Server Liberty
About this task
When the dynamic workload broker instance is installed on your master domain manager, corresponding roles are set up in WebSphere Application Server Liberty. By default, these roles are not used. However, the authorization required to perform any tasks is always validated by WebSphere Application Server Liberty. Users are required to provide credentials for managing resources and job definitions using the resource and jobstore commands. These credentials correspond to existing users defined in the domain user registry or the LDAP server.
- Operator
- Monitors and controls the jobs submitted.
- Administrator
- Manages the scheduling infrastructure.
- Submitter
- Manages the submission of their own jobs and monitors and controls the job lifecycle. This
is the typical role for an HCL Workload Automation user.
HCL Workload Automation acts as submitter of jobs to the HCL Workload Automation dynamic agent.
- Configurator
- Is the entity responsible for running the jobs on a local environment.
To map security roles to users and groups on the WebSphere Application Server Liberty, edit the broker_role_mapping.xml file located in <Liberty_installation_directory>/usr/servers/engineServer/configDropins.
You can edit the file to associate users and groups to the Operator, Administrator, Developer, or Submitter roles, as follows:
- Copy the template file from the templates folder to a working folder.
- Edit the template file in the working folder with the desired configuration.
- Optionally, create a backup copy of the relevant configuration file present in the overrides directory in a different directory. Ensure you do not copy the backup file in the path where the template files are located.
- Copy the updated template file to the overrides folder. Maintaining the original folder structure is not required.
- Changes are effective immediately.
To enable all users to use the dynamic workload broker commands, remove the
comment from the special-subject
string, otherwise, specify the list of users
or groups for each role.