Schema Central > XACML 2.0 > access_control-xacml-2.0-context-schema-os.xsd > xacml-context:Request
Advanced search
Need SOA Help?

Recommended Reading:

Web Service Contract Design and Versioning for SOA

 

Definitive XML Schema

 

xacml-context:Request

Element information

Content

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>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com