policy4j / xacml4j

Implementation of OASIS XACML 2.0 & 3.0 specification in Java programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Obligation AttributeAssignment evaluation

miosman opened this issue · comments

Obligation AttributeAssignment values are not evaluated when using any attribute designator using XACML 2.0.

Example

<AttributeAssignment
                    AttributeId="urn:oasis:names:tc:xacml:2.0:requester"
                    DataType="http://www.w3.org/2001/XMLSchema#string">
<SubjectAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string"/>
</AttributeAssignment>

The above example will evaluate to an empty line when getting the obligation attribute value.