From ae2b058a7756cbc4eadd7700159e9d8e76050c35 Mon Sep 17 00:00:00 2001 From: Chenfei Gao Date: Tue, 10 Mar 2020 16:13:17 -0400 Subject: Added support for application/xacml+json in native app Issue-ID: POLICY-2182 Change-Id: I13246e08afdc2f5a380b5737c72851f271211d46 Signed-off-by: Chenfei Gao --- .../decisions/decision.native.request.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 main/src/test/resources/decisions/decision.native.request.json (limited to 'main/src/test/resources/decisions') 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 -- cgit 1.2.3-korg