Repository: incubator-openaz
Updated Branches:
  refs/heads/master [created] 94fcdd909


http://git-wip-us.apache.org/repos/asf/incubator-openaz/blob/94fcdd90/openaz-xacml-test/testsets/conformance/xacml3.0-ct-v.0.4/IIA023Response.xml
----------------------------------------------------------------------
diff --git 
a/openaz-xacml-test/testsets/conformance/xacml3.0-ct-v.0.4/IIA023Response.xml 
b/openaz-xacml-test/testsets/conformance/xacml3.0-ct-v.0.4/IIA023Response.xml
new file mode 100755
index 0000000..622656e
--- /dev/null
+++ 
b/openaz-xacml-test/testsets/conformance/xacml3.0-ct-v.0.4/IIA023Response.xml
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Response
+      xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+      xsi:schemaLocation="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17
+        http://docs.oasis-open.org/xacml/3.0/xacml-core-v3-schema-wd-17.xsd";>
+    <Result>
+        <Decision>Permit</Decision>
+        <Status>
+            <StatusCode
+                  Value="urn:oasis:names:tc:xacml:1.0:status:ok"/>
+        </Status>
+                 <Attributes 
Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
+               
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#string";>Julius Hibbert as 
string</AttributeValue>
+                   </Attribute>
+                    <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#string";>test string</AttributeValue>
+                   </Attribute>   
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#string";>Julius 
Hibbert</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-boolean" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#boolean";>true</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-boolean" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#boolean";>false</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-integer" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#integer";>56</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-integer" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#integer";>12</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-double" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#double";>27.50</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-double" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#double";>73985.34256</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-date" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#date";>2002-03-22</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-date" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#date";>1256-11-11</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-dateTime" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#dateTime";>2002-03-22T08:23:47-05:00</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-dateTime" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#dateTime";>1056-11-05T19:08:12-14:30</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-dayTimeDuration" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#dayTimeDuration";>P50DT5H4M3S</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-dayTimeDuration" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#dayTimeDuration";>P12DT148H18M21S</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-yearMonthDuration" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#yearMonthDuration";>-P5Y3M</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-yearMonthDuration" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#yearMonthDuration";>-P28Y7M</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-hexBinary" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#hexBinary";>0BF7A9876CDE</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-hexBinary" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#hexBinary";>0FB8</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-rfc822Name" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#base64Binary";>c3VyZS4=</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-rfc822Name" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#base64Binary";>YXN1cmUu</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-rfc822Name" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name">[email protected]</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-rfc822Name" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name">c_clown@NOSE_MEDICO.COM</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-x500Name" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:1.0:data-type:x500Name">cn=Julius Hibbert, 
o=Medi Corporation, c=US</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-x500Name" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:1.0:data-type:x500Name">cn=Crusty Clown, 
o=Red Nose Corporation, c=US</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-ipAddress" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:2.0:data-type:ipAddress">122.45.38.245/255.255.255.64:8080</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-ipAddress" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:2.0:data-type:ipAddress">35.123.111.56/255.64.32.255:9999</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-dnsName" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:2.0:data-type:dnsName">some.host.name:147-874</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-dnsName" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:2.0:data-type:dnsName">a.different.host:-45</AttributeValue>
+                   </Attribute>
+                 </Attributes>
+                 <Attributes 
Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:resource:xpathExpression" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:3.0:data-type:xpathExpression" 
+                       
XPathCategory="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">//md:records/md:record</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:resource:xpathExpression" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="urn:oasis:names:tc:xacml:3.0:data-type:xpathExpression" 
+                       
XPathCategory="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">//md:records/md:diagnosis_info</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#anyURI";>http://medico.com/record/patient/BartSimpson</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#anyURI";>http://medico.com/record/patient/HomerSimpson</AttributeValue>
+                   </Attribute>
+                 </Attributes>
+                 <Attributes 
Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action">
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#string";>read</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#string";>write</AttributeValue>
+                   </Attribute>
+                 </Attributes>
+                 <Attributes 
Category="urn:oasis:names:tc:xacml:3.0:attribute-category:environment">
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:environment:current-time" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#time";>08:23:47-05:00</AttributeValue>
+                   </Attribute>
+                   <Attribute IncludeInResult="true" 
AttributeId="urn:oasis:names:tc:xacml:1.0:environment:current-time" 
Issuer="ConformanceTester">
+                     <AttributeValue 
DataType="http://www.w3.org/2001/XMLSchema#time";>22:12:10-24:53</AttributeValue>
+                   </Attribute>
+                 </Attributes>  
+                 
+    </Result>
+
+</Response>

Reply via email to