[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Date comparison in XACML 2.0
Dear all
When the functions "urn:oasis:names:tc:xacml:1.0:function:date-less-than-or-equal" or "urn:oasis:names:tc:xacml:1.0:function:date-greater-than-or-equal" are used in an EnvironmentMatch element in a XACML 2.0 policy, e.g.:<xacml:Environments> <xacml:Environment> <xacml:EnvironmentMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:date-less-than-or-equal"> <xacml:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#date">2021-06-04</xacml:AttributeValue>> <xacml:EnvironmentAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:environment:current-date" DataType="http://www.w3.org/2001/XMLSchema#date" MustBePresent="false"/> </xacml:EnvironmentMatch> </xacml:Environment> </xacml:Environments>what is the first argument of the function and what is the second? Will the above example result in a matchÂ
- if the current date is less than or equal to 2021-06-04?
- or if 2021-06-04 is less than or equal to the current date?
Thank you and kind regardsDmytro
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]