<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<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</AttributeValue> | |
</Attribute> | |
<Attribute IncludeInResult="true" AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-string" 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-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-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-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-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-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-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-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-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-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="urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name">j_hibbert@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-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-dnsName" Issuer="ConformanceTester"> | |
<AttributeValue DataType="urn:oasis:names:tc:xacml:2.0:data-type:dnsName">some.host.name:147-874</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:resource-id" Issuer="ConformanceTester"> | |
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://medico.com/record/patient/BartSimpson</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> | |
</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> | |
</Attributes> | |
</Result> | |
</Response> |