RE: [xacml-users] RE: XACML Request with multiple subjects of the same attributeID?

From
Tyson, Paul H <>
Date
2010-09-23T18:24:27+00:00
ID
Thread
RE: [xacml-users] RE: XACML Request with multiple subjects of the same attributeID?
<Policy PolicyId="LoginPolicy" 
	RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:permit-overrides" 
	xmlns="urn:oasis:names:tc:xacml:2.0:policy:schema:os">
  <Target/>
  <Rule RuleId="LoginRule" Effect="Permit">
    <Target>
      <Subjects>
	<Subject>
	  <SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
	    <AttributeValue 
		DataType="http://www.w3.org/2001/XMLSchema#string">backupOperators</AttributeValue>
	    <SubjectAttributeDesignator 
		AttributeId="group" 
		DataType="http://www.w3.org/2001/XMLSchema#string"/>
	  </SubjectMatch>
	</Subject>
      </Subjects>
      <Resources>
	<Resource>
	  <ResourceMatch 
	      MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
	    <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">/service/Address/URI</AttributeValue>
	    <ResourceAttributeDesignator DataType="http://www.w3.org/2001/XMLSchema#string" AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id"/>
	  </ResourceMatch>
	</Resource>
      </Resources>
    </Target>
  </Rule>
  <Rule RuleId="FinalRule" Effect="Deny"/>
</Policy>