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

Recommended Reading:

Web Service Contract Design and Versioning for SOA

 

Definitive XML Schema

 

xacml:PolicySet

Element information

Content

Attributes

NameOccTypeDescriptionNotes
PolicySetId [1..1]xsd:anyURI
Version [0..1]xacml:VersionTypeDefault value is "1.0".
PolicyCombiningAlgId [1..1]xsd:anyURI

Used in

Sample instance

<PolicySet           xsi:schemaLocation="urn:oasis:names:tc:xacml:2.0:policy:schema:os http://docs.oasis-open.org/xacml/access_control-xacml-2.0-policy-schema-os.xsd"
           PolicySetId="urn:oasis:names:tc:xacml:2.0:example:policysetid:1"
           PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:  policy-combining-algorithm:deny-overrides">
   <Description>
   Example policy set.
  </Description>
   <Target>
      <Resources>
         <Resource>
            <ResourceMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
               <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">
       					urn:med:example:schema:records
       				</AttributeValue>
               <ResourceAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:resource:target-namespace"
                                            DataType="http://www.w3.org/2001/XMLSchema#string"/>
            </ResourceMatch>
         </Resource>
      </Resources>
   </Target>
   <PolicyIdReference>
  urn:oasis:names:tc:xacml:2.0:example:policyid:3
 </PolicyIdReference>
   <Policy PolicyId="urn:oasis:names:tc:xacml:2.0:example:policyid:2"
           RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:deny-overrides">
      <Description>
   Policy for any medical record in the
   http://www.med.example.com/schemas/record.xsd namespace
  </Description>
      <Target/>
      <Rule RuleId="urn:oasis:names:tc:xacml:2.0:example:ruleid:1" Effect="Permit"/>
      <Rule RuleId="urn:oasis:names:tc:xacml:2.0:example:ruleid:2" Effect="Permit"/>
      <Rule RuleId="urn:oasis:names:tc:xacml:2.0:example:ruleid:4" Effect="Deny"/>
   </Policy>
</PolicySet>

Site developed and hosted by Datypic, Inc.

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