← Prev in month
← Prev in thread
Next in thread →
Next in month →
Réf. : Re: [xacml-users] Problem with an orfunction
Finally I tried to use a target like this : <Target xmlns="urn:oasis:names:tc:xacml:1.0:policy"> <Subjects> <Subject xmlns="urn:oasis:names:tc:xacml:1.0:policy"> <SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-less-than-or-equal" xmlns="urn:oasis:names:tc:xacml:1.0:policy"> <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">10</AttributeValue> <SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:SAML:2.0:attrname-format:basic:profile1" DataType="http://www.w3.org/2001/XMLSchema#string"></SubjectAttributeDesignator> </SubjectMatch> </Subject> <Subject xmlns="urn:oasis:names:tc:xacml:1.0:policy"> <SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-less-than-or-equal" xmlns="urn:oasis:names:tc:xacml:1.0:policy"> <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">10</AttributeValue> <SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:SAML:2.0:attrname-format:basic:profile2" DataType="http://www.w3.org/2001/XMLSchema#string"></SubjectAttributeDesignator> </SubjectMatch> </Subject> </Subjects> <Resources><AnyResource xmlns=""></AnyResource></Resources> <Actions><AnyAction xmlns=""></AnyAction></Actions> </Target> And it seems to work ! One thing I don't understand is why I have to use a "less-than" function in the target while I used a "greater-than" in the condition..... Val廨ie
← Prev in month
← Prev in thread
Next in thread →
Next in month →