- 27 Mar, 2022 10 commits
-
-
Cyril Dangerville authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
- Added XMLUtils#SAXBasedXmlnsFilteringParser constructor with XML namespace prefix-to-URI mappings to help fix issue authzforce/server#66
-
- 08 Mar, 2022 8 commits
-
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
- Bugfix: reusing the same XPathCompiler for multiple calls to compile(String) method on XPaths with XPath variables changes the internal state, has same effect as calling declareVariable(QName)without reinitializing, i.e. variables add up.
-
- 07 Mar, 2022 9 commits
-
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
- Added XPathCompilerProxy interface method to get the list of all variables allowed in input XPath expressions: List<VariableReference<?>> getAllowedVariables(); - Added immutable implementation of BaseXPathCompilerProxy: BasixImmutableXPathCompilerProxy - Added support for XACML Policy Variables as XPath variables in xpathExpression AttributeValues
-
- 06 Mar, 2022 11 commits
-
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
cdanger authored
-
-
cdanger authored
- Added feature: possibility to use XACML Variable references as XPath variables in AttributeSelector/AttributeValue's XPath expressions - Added XdmItem getXdmItem() to all PrimitiveValues and getXdmValue() to all Value implementations in order to provide the XdmItem value of XPath variables in XPath expressions - New class XPathCompilerProxy to make a immutable version of XPathCompiler and add extra methods such as getDeclaredNamespacePrefixToUriMap() to help create new XPathCompilers based on XPathCompilerProxy - Refactoring: replaced SAXON XPathCompiler with immutable wrapper class XPathCompilerProxy in API methods for safer code, and to fix Spotbugs issues - Changed AttributeValueFactory extension's interface: getInstance() arg XPathCompiler (Saxon) replaced with Optional<XPathCompilerProxy> - Changed Datatype interface: added ItemType getXPathItemType() used to declare Variable types on XPathCompiler when compiling XPath expressions using VariableReferences - Changed EvaluationContext interface: - Added getVariables() to get list of all VariableReferences/Values in context for evaluation of XPath expression (using XACML variables as XPath variables) - putVariableIfAbsent(String variableId,...) replaced with (VariableReference variableRef,...) - Changed ExpressionFactory interface: added isXpathEnabled() and getVariableExpressions() to get list of VariableExpressions() for declaring all Variable names/types on XPath expression (using XACML Variables as XPath variables) compiler - Changed VariableReference interface: added getXPathVariableName() -> QName to assign variables when evaluating XPath with SAXON XPathCompiler
-
cdanger authored
- Added feature: possibility to use XACML Variable references as XPath variables in AttributeSelector/AttributeValue's XPath expressions - Added XdmItem getXdmItem() to all PrimitiveValues and getXdmValue() to all Value implementations in order to provide the XdmItem value of XPath variables in XPath expressions - New class XPathCompilerProxy to make a immutable version of XPathCompiler and add extra methods such as getDeclaredNamespacePrefixToUriMap() to help create new XPathCompilers based on XPathCompilerProxy - Refactoring: replaced SAXON XPathCompiler with immutable wrapper class XPathCompilerProxy in API methods for safer code, and to fix Spotbugs issues - Changed AttributeValueFactory extension's interface: getInstance() arg XPathCompiler (Saxon) replaced with Optional<XPathCompilerProxy> - Changed Datatype interface: added ItemType getXPathItemType() used to declare Variable types on XPathCompiler when compiling XPath expressions using VariableReferences - Changed EvaluationContext interface: - Added getVariables() to get list of all VariableReferences/Values in context for evaluation of XPath expression (using XACML variables as XPath variables) - putVariableIfAbsent(String variableId,...) replaced with (VariableReference variableRef,...) - Changed ExpressionFactory interface: added isXpathEnabled() and getVariableExpressions() to get list of VariableExpressions() for declaring all Variable names/types on XPath expression (using XACML Variables as XPath variables) compiler - Changed VariableReference interface: added getXPathVariableName() -> QName to assign variables when evaluating XPath with SAXON XPathCompiler
-
- 25 Feb, 2022 1 commit
-
-
Cyril Dangerville authored
-
- 07 Feb, 2022 1 commit
-
-
cdanger authored
-