diff options
author | Chenfei Gao <cgao@research.att.com> | 2020-03-10 16:13:17 -0400 |
---|---|---|
committer | Chenfei Gao <cgao@research.att.com> | 2020-03-11 10:39:44 -0400 |
commit | ae2b058a7756cbc4eadd7700159e9d8e76050c35 (patch) | |
tree | bbb433977b2a69f9963645c2bbe6208f6dce2a8d /main/src/test/resources | |
parent | ef1c07eb976ff4d8145f40ce4db092591bb78047 (diff) |
Added support for application/xacml+json in native app
Issue-ID: POLICY-2182
Change-Id: I13246e08afdc2f5a380b5737c72851f271211d46
Signed-off-by: Chenfei Gao <cgao@research.att.com>
Diffstat (limited to 'main/src/test/resources')
-rw-r--r-- | main/src/test/resources/decisions/decision.native.request.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/src/test/resources/decisions/decision.native.request.json b/main/src/test/resources/decisions/decision.native.request.json new file mode 100644 index 00000000..5e593bc9 --- /dev/null +++ b/main/src/test/resources/decisions/decision.native.request.json @@ -0,0 +1,41 @@ +{ + "Request": { + "ReturnPolicyIdList": false, + "CombinedDecision": false, + "AccessSubject": [ + { + "Attribute": [ + { + "IncludeInResult": false, + "AttributeId": "subject-id", + "Value": "Julius Hibbert" + } + ] + } + ], + "Resource": [ + { + "Attribute": [ + { + "IncludeInResult": false, + "AttributeId": "resource-id", + "Value": "http://medico.com/record/patient/BartSimpson", + "DataType": "anyURI" + } + ] + } + ], + "Action": [ + { + "Attribute": [ + { + "IncludeInResult": false, + "AttributeId": "action-id", + "Value": "read" + } + ] + } + ], + "Environment": [] + } +}
\ No newline at end of file |