-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This would allow to use XACML variables as inputs to any XPath function / expression, which would provider simpler alternatives to certain complex ApplyExpressions.
For example, say we declare a variable classif_name
:
<VariableDefinition VariableId="classif_name>...</VariableDefinition>
Then we want to use it in a XPath expression as follows:
<AttributeSelector Path="if ($classif_name = 'SECRET') then 3 else if ($classif_name = 'CONFIDENTIAL') then 2 else if ($classif_name = 'RESTRICTED ') then 1 else 0" Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" DataType="http://www.w3.org/2001/XMLSchema#integer" MustBePresent="true" />
The idea is to use the same variable ID in the XPath expression as the VariableDefinition.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request