Creating an Authorization Definition File
Prerequisites
The Data Orchestration Engine (DOE) administrator has:
· Created the authorization objects in the DOE
· Assigned the authorization objects to roles, users, and applications
Context
For creating application-related authorizations, you have to:
-
Create an XML file called Authorization.xml in the Mobile Project
-
Define the authorization objects in the authorization file
Procedure
-
Choose and then choose OK.
The SAP perspective changes to Resource .
-
Choose
-
Select the required project.
-
In the File name field, enter Authorization.xml .
-
Choose Finish .
The IDE creates the authorization file and opens it in the edit mode, which enables you to define the authorization definitions.
-
Enter the required authorization definitions, as shown in the example.
-
Choose
Example
This example displays a sample authorization file.
<?xml version="1.0" encoding="utf-8"?>
- <auth_objects>
- <auth_object name="AO1">
<auth_field name="Field1" />
<auth_field name="Field2" />
<auth_field name="Field4" />
</auth_object>
- <auth_object name="AO2">
<auth_field name="Field1" />
<auth_field name="Field3" />
<auth_field name="Field7" />
</auth_object>
</auth_objects>

