Managing Users and Roles

OMS supports role-based authorization. The user must belong to either ROLE_USER or ROLE_ADMIN.

The following table shows business functions and a list of roles that are authorized to perform the business functions.

OMS Interface Function Roles
OMS UI Dashboard ROLE_USER, ROLE_ADMIN
Search Order ROLE_USER, ROLE_ADMIN
Order Detail ROLE_USER, ROLE_ADMIN
Suspend Order ROLE_ADMIN
Cancel Order ROLE_ADMIN
Resume Order ROLE_ADMIN
Amend Order ROLE_ADMIN
Withdraw Order ROLE_ADMIN
Search Execution Plan ROLE_USER, ROLE_ADMIN
View Execution Plan ROLE_USER, ROLE_ADMIN
Add Order ROLE_ADMIN
OMS Web Service Submit Order ROLE_ADMIN
Synchronous Submit Order ROLE_ADMIN
Amend Order ROLE_ADMIN
Get Orders ROLE_USER, ROLE_ADMIN
Get Order Detail ROLE_USER, ROLE_ADMIN
Get Execution Plan ROLE_USER, ROLE_ADMIN
Get Enriched Execution Plan ROLE_USER, ROLE_ADMIN
Cancel Order ROLE_ADMIN
Activate Order ROLE_ADMIN
Perform Bulk Order Action ROLE_ADMIN

By default, OMS provides a set of user id and password for accessing OMS through the web and for submitting a web service request.

The following table shows the default user id and password provided by the OMS.

User Name Password Role
admin admin ROLE_ADMIN
affadmin affadmin ROLE_ADMIN
afuser afuser ROLE_USER

Mentioned below is the UserManagement application available with Fulfillment Order Management.

Before running the UserManagement application, set the environment variable AF_OMS_CONTEXT_URL to the URL where the omsServer Web application is up and running. For example:

http://<host>:<port>

Where:
  • host is the computer where you installed the Fulfillment Order Management.
  • port number is the port number of the machine where OMS Web server is listening to requests. The default port number is 9091.
  • omsServer is the application context.

The UserManagement application is used to manage users in the Fulfillment Order Management solution. The application has a userservice command line interface that helps you to:

Note: You must have a role assigned as ROLE_ADMIN to invoke the command-line application.

Running the userservice with -help option displays all the options with userservice and corresponding arguments.