!--a11y-->
Creating UME
Roles 
The next step is to create the UME roles to use for the application. These roles will contain the actions you created for the application. See the table below.
UME Roles and Their Corresponding Actions
UME Role |
Description |
Actions |
Employee |
Employee without any authorizations for booking reservations. Employees may view reservations however. |
WDQuickCarRental.WDViewReservations
|
BookingAgent |
Standard agent that is allowed to create and cancel reservations. However, standard agents may not create or cancel reservations for premium or luxury vehicle types. |
WDQuickCarRental.WDViewReservations WDQuickCarRental.WDMaintainStandard
|
PremiumAgent |
Agents that are allowed to maintain reservation for all vehicle types. |
WDQuickCarRental.WDViewReservations WDQuickCarRental.WDMaintainStandard WDQuickCarRental.WDMaintainPremium |

If you have already created these roles, then you do not need to create new ones. Verify however, that these roles contain the corresponding actions. Also, remove any other actions that may be included, for example, the action QuickCarRental.AccessQuickCarRental, which is used in the J2EE-Based tutorial with J2EE security roles.
|
|
You are logged on to the user management administration console as an administrator. |
...
1. In the user management console, choose Roles.
The Create/Maintain Roles screen appears.
2. Create or modify the Employee role:
a.
Choose the symbol
for Create New
or
Modify/View
.
The Create a new role or (Modify Role) screen appears.
b. If you are creating the role, then enter Employee as the role name and a short description.
c. Select the WDQuickCarRental.WDViewQuickCarRental action from the Available Actions and choose Add. Remove any other actions.
This action is added as Selected Actions.
See the figure below.

d. Save the data.
3. Create (or modify) the role BookingAgent:
a. Choose Create New (or Modify/View).
b. Enter BookingAgent as the role name and a short description.
c. Select the following Available Actions and choose Add:
§ WDQuickCarRental.WDViewReservations
§ WDQuickCarRental.WDMaintainStandard
The actions are added as Selected Actions.
Remove any other existing actions.
d. Save the data.
4. Create the role PremiumBookingAgent.
a. Choose the symbol for Create New (or Modify/View).
b. Enter PremiumBookingAgent as the role name and a short description.
c. Select the following Available Actions and choose Add:
§ WDQuickCarRental.WDViewReservations
§ WDQuickCarRental.WDMaintainStandard
§ WDQuickCarRental.WDMaintainPremium
The actions are added as Selected Actions.
Remove any other existing actions.
d. Save the data.
The UME roles Employee, BookingAgent and PremiumBookingAgent are created. These roles contain the actions that you specified in the actions file for the application.