xacml-context:Request
Element information
Namespace: urn:oasis:names:tc:xacml:2.0:context:schema:os
Schema document: access_control-xacml-2.0-context-schema-os.xsd
Type: xacml-context:RequestType
Properties: Global, Qualified
Content
- Sequence [1..1]
- xacml-context:Subject [1..*]
- xacml-context:Resource [1..*]
- xacml-context:Action [1..1]
- xacml-context:Environment [1..1]
Attributes
None
Sample instance
<Request xsi:schemaLocation=" urn:oasis:names:tc:xacml:2.0:context:schema:os http://docs.oasis-open.org/xacml/access_control-xacml-2.0-context-schema-os.xsd"> <Subject> <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject-category" DataType="xs:anyURI" Issuer="med.example.com"> <AttributeValue>urn:oasis:names:tc:xacml:1.0:subject-category:access-subject</AttributeValue> </Attribute> <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="xs:string" Issuer="med.example.com"> <AttributeValue>CN=Julius Hibbert</AttributeValue> </Attribute> <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:name-format" DataType="xs:anyURI"> <AttributeValue>urn:oasis:names:tc:xacml:1.0:datatype:x500name</AttributeValue> </Attribute> <Attribute AttributeId="urn:oasis:names:tc:xacml:2.0:example:attribute:role" DataType="xs:string" Issuer="med.example.com"> <AttributeValue>physician</AttributeValue> </Attribute> <Attribute AttributeId="urn:oasis:names:tc:xacml:2.0:example:attribute:physician-id" DataType="xs:string" Issuer="med.example.com"> <AttributeValue>jh1234</AttributeValue> </Attribute> </Subject> <Resource> <ResourceContent> <md:record xsi:schemaLocation="urn:med:example:schemas:record http:www.med.example.com/schemas/record.xsd"> <md:patient> <md:patientDoB>1992-03-21</md:patientDoB> <md:patient-number>555555</md:patient-number> </md:patient> </md:record> </ResourceContent> <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" DataType="xs:string"> <AttributeValue> //med.example.com/records/bart-simpson.xml# xmlns(md=http:www.med.example.com/schemas/record.xsd)xpointer(/md:record/md:patient/md:patientDoB) </AttributeValue> </Attribute> <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:target-namespace" DataType=" http://www.w3.org/2001/XMLSchema#anyURI"> <AttributeValue> urn:med:example:schemas:record </AttributeValue> </Attribute> </Resource> <Action> <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" DataType="xs:string"> <AttributeValue>read</AttributeValue> </Attribute> </Action> <Environment/> </Request>