IIC341Policy.xml 1.44 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" 
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
		PolicyId="urn:oasis:names:tc:xacml:2.0:conformance-test:IIC341:policy" 
		RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-overrides" 
		Version="1.0" 
		>
    <Description>
        Policy for Conformance Test IIC342.
        Purpose - Function Evaluation - Set Functions: dayTimeDuration-at-least-one-member-of
    </Description>
    <Target/>
    <Rule Effect="Permit" RuleId="urn:oasis:names:tc:xacml:2.0:conformance-test:IIC341:rule">
        <Condition>
		  <Apply FunctionId="urn:oasis:names:tc:xacml:3.0:function:dayTimeDuration-at-least-one-member-of">
            <Apply FunctionId="urn:oasis:names:tc:xacml:3.0:function:dayTimeDuration-bag">
                <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#dayTimeDuration">P1DT8H24M</AttributeValue>
                <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#dayTimeDuration">P5DT2H0M0S</AttributeValue>
            </Apply>
            <AttributeDesignator AttributeId="urn:oasis:names:tc:xacml:2.0:conformance-test:test-attr" 
            	Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" 
            	DataType="http://www.w3.org/2001/XMLSchema#dayTimeDuration" 
            	MustBePresent="false"/>
		  </Apply>
        </Condition>
    </Rule>
</Policy>