package_info
structure contains the privilege information of a package element. For an explanation of privilege information contained within package elements, see com.vmware.vapi.metadata.privilege.package.
{
"privileges": [ "string", "string" ], "services": [ { "key": "obj-103", "value": { "operations": [ { "key": "obj-103", "value": { "privilege_info": [ { "privileges": [ "string", "string" ], "property_path": "string" }, { "privileges": [ "string", "string" ], "property_path": "string" } ], "privileges": [ "string", "string" ] } } ] } } ] }
<?xml version="1.0" ?>
<ns0:PackageInfo xmlns:ns0="http://vmware.com/vapi/metadata/privilege" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <services-array> <array-item> <value> <operations-array> <array-item> <value> <privilege_info-array> <array-item> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> <property_path>string</property_path> </array-item> <array-item> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> <property_path>string</property_path> </array-item> </privilege_info-array> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> </value> <key>obj-103</key> </array-item> </operations-array> </value> <key>obj-103</key> </array-item> </services-array> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> </ns0:PackageInfo> |
Name | Type | Required | Description |
---|---|---|---|
privileges* |
List<string> | Yes | List of default privileges to be used for all the operations present in this package. If a particular operation element has no explicit privileges defined in the privilege definition file, these privileges are used for enforcing authorization. |
services* |
Map<ID, service_info> | Yes | Information about all service elements contained in this package element that contain privilege information. The key in the key/value pairs is the identifier of the service element and the value in the key/value pairs is the privilege information for the service element. For an explanation of privilege information containment within service elements, see com.vmware.vapi.metadata.privilege.service. Id of type com.vmware.vapi.service. |
Copyright © 2014. All Rights Reserved.