1. 13 Jun, 2016 1 commit
  2. 29 May, 2016 1 commit
    • cdanger's avatar
      - upgraded core-pdp-api to v4.0.0 (simplified method signature: · 03bac1fa
      cdanger authored
      FirstOrderBags.getFunctions(DatatypeFactory<AV>) and fixed license
      - Changed request filter IDs:
      	- urn:ow2:authzforce:xacml:request-filter:default-lax ->
      	- urn:ow2:authzforce:xacml:request-filter:default-strict ->
          - urn:ow2:authzforce:xacml:request-filter:multiple:repeated-attribute-categories-strict
          - urn:ow2:authzforce:xacml:request-filter:multiple:repeated-attribute-categories-lax
      - Fixed doc in pdp.xsd on PDP extensions
  3. 03 May, 2016 1 commit
  4. 05 Apr, 2016 1 commit
    • cdanger's avatar
      - Changed to PDP XSD: maxVariableRefDepth/maxPolicyRefDepth attributes · a32acec7
      cdanger authored
      made optional
      - Refactoring on PolicyEvaluator classes: new PolicyEvaluators factory
      class for creating policy evaluators with better-optimized support for
      statically defined policies (or policy references)
      - Renamed extension ID prefix from 'urn:thalesgroup:' to
      'urn:ow2:authzforce' (for open source extensions), e.g. for
      request/result filters, functions, etc.
  5. 06 Mar, 2016 1 commit
    • cdanger's avatar
      * Changed PDP XSD: 'requestFilter' attribute now has default value · c50402b1
      cdanger authored
      "urn:thalesgroup:xacml:request-filter:default-lax" and possible values
      for requestFilter extensions natively supported:
       * "urn:thalesgroup:xacml:request-filter:default-lax": implements only
      XACML 3.0 Core (NO support for Multiple Decision) and allows duplicate
      <Attribute> with same meta-data in the same <Attributes> element of a
      Request (complying with XACML 3.0 core spec, §7.3.3)
       * "urn:thalesgroup:xacml:request-filter:default-strict": implements
      only XACML 3.0 Core (NO support for Multiple Decision) and does not
      allow duplicate <Attribute> with same meta-data in the same <Attributes>
      element of a Request (NOT complying with XACML 3.0 core spec, §7.3.3,
      but better performances)
       *  "urn:oasis:names:tc:xacml:3.0:profile:multiple:repeated-attribute-categories-lax":
      implements Multiple Decision Profile, section 2.3 (repeated attribute
      categories), and allows duplicate <Attribute> with same meta-data in the
      same <Attributes> element of a Request (complying with XACML 3.0 core
      spec, §7.3.3)
       * "urn:oasis:names:tc:xacml:3.0:profile:multiple:repeated-attribute-categories-strict":
      same as previous one, except it does not allow duplicate <Attribute>
      with same meta-data in the same <Attributes> element of a Request (NOT
      complying with XACML 3.0 core spec, §7.3.3, but better performances)
  6. 13 Jan, 2016 2 commits
    • cdanger's avatar
      Updated changelog · 8e9080b2
      cdanger authored
    • cdanger's avatar
      - Moved all classes meaningful as API classes for PDP extensions (and · a1e7ed4f
      cdanger authored
      therefore PDP extension implementers) to a separate project
      - Lower findbugs alert threshold and fixed new findbugs issues
      - Removed inheritance of JAXB classes for most *Evaluator classes to
      simplify the code
      - Property placeholder replacement optimized, no longer done on the
      whole PDP conf document, but only when needed by policy provider
      extensions (e.g. to replace PARENT_DIR)
      - New XML-namespace-aware XML parser to support namespace-aware XPath
      evaluation of XACML Request/Policies
      - new CoreRefBasedPolicyProviderModule (root policy defined as a
      reference to a previously declared RefPolicyProviderModule and policy
      IdRef to be resolved by the latter)
      - PDP conf schema versioning (3.6):
       and depends on new pdp extension schema version:
       - Fixed issue with control of max policy ref depth
  7. 04 Dec, 2015 1 commit
    • cdanger's avatar
      - Added support of OASIS XACML Committee's 2.0 version of conformance · 438ce239
      cdanger authored
      tests upgraded to conform to the XACML 3.0 standard. Most of them have
      been submitted to the OASIS XACML Committee in April 2014 by AT&T.
      The original files are available on the xacml-comment mailing list: 
      and on AT&T's Github repository (MIT License): 
      except IIA010, IIA012, IIA024, IID029, IID030 and III.C (test 1 is the
      only one support in this latter category)
      - Added feature with unit test: Policy Reference depth control and
      circular reference detection
      - Added feature with unit test: Variable Reference depth control and
      circular reference detection
      - Added option to enable/disable XPath support (xpathExpression
      datatype, AttributeSelector and xpath functions)
      - Added support of xpathExpressions in Request with support of
      namespace-prefix mappings extracted from XML document
      (...xmlns:prefix="uri"...) where the xpathExpression is defined, i.e.
      XACML Request or Policy(Set), in native policy finders
      - Added support of xpath-node-count function (optional XACML feature)
      - Added support of optional XACML features: RequestDefaults/XPathVersion
      for evaluation of xpathExpressions in Request, and ReturnPolicyIdList to
      return identifiers of policies found applicable for the Request
      - New modes of request parsing/filtering for enforce best practices and
      tweak performances of Request processing:
      1) strictAttributeIssuerMatch: parsing so that AttributeDesignator
      without Issuer only match request Attributes without Issuer (better
      performance if all Attributes have an Issuer which is recommended, but
      not fully XACML (§5.29) compliant)
      2) allowAttributeDuplicates: allow defining multi-valued attributes by
      repeating the same XACML Attribute (same AttributeId) within a XACML
      Attributes element (same Category). Indeed, not allowing this is not
      fully compliant with the XACML spec according to a discussion on the
      xacml-dev mailing list (see {@linkplain
      referring to the XACML 3.0  core spec, §7.3.3, that indicates that
      multiple occurrences of the same &lt;Attribute&gt; with same meta-data
      but different values should be considered equivalent to a single
      &lt;Attribute&gt; element with same meta-data and merged values
      (multi-valued Attribute). Moreover, the XACML 3.0 conformance test
      'IIIA024' expects this behavior: the multiple subject-id Attributes are
      expected to result in a multi-value bag during evaluation of the
      &lt;AttributeDesignator&gt;. Setting this parameter to {@code false} is
      not fully compliant, but provides better performance, especially if you
      know the Requests to be well-formed, i.e. all AttributeValues of a given
      Attribute are grouped together in the same &lt;Attribute&gt; element.
      Combined with strictAttributeIssuerMatch == true, this is the most
      efficient alternative (although not fully compliant).
      - Fixed non-compliance of Request Content parsing for XPath eval (use
      the single child element of Content node as XML input doc to XPath eval,
      NOT the Content node itself) -> removed useless need of JAXBContext and
      creating JAXBSource for parsing into XDMnode -> perf improved
      - Fixed AttributeSelector evaluation for XPath to XML attribute value
      (return the attribute value as a string instead of an Attribute
      node/entry "attributeName=attributeValue"
      - Fixed VariableReferenceDepth control (reference chain was not updated
      - Fixed PolicySetIdReference Depth control (reference chain was not
      updated properly)
      - Use of new immutable version of xacml-model where all XACML/JAXB
      objects are immutable -> significant changes in way to create these
      objects during evaluation, esp. Obligations and Advices
      - Fix ordering of obligations/advices when merging a given Policy(Set)'s
      obligations/advices with the child elements' (Policy/Rule) ones
      - Fixed static pre-eval on <Apply> with xpathExpression (should not
      pre-eval statically, i.e. out of context, since xpathExpression value
      depends on context
      - Replaced RELEASE-NOTES.md with CHANGELOG.md to adopt conventions from
      - Improved unit tests: ability to plug the TestAttributeProviderModule
      configured with a file XXXAttributeProvider.xml to the PDP for specific
      tests, also to plug referenced Policies for the RefPolicyFinder of the
      PDP with 'refPolicies' directory containing Policy(Set)files; and
      ability to test for Policy or Request syntax error checking only (no
      Request evaluation by PDP)
      - Improved test class TestUtils to create a PDP instance with XPath
      support disabled/enabled and specific request filter ID on the PDP
      - Improved TestAttributeProviderModule supports any static configuration
      of Attributes (with contant values); same format as in XACML Requests
      - Removed license header of Apache2 (replaced with GPL)
      - Removed NOTICE.txt obsolete ("Apache AuthZForce" does not exist)
      - Conformance tests split in 'mandatory' and 'optional' folder to
      distinguish XACML mandatory feature from optional feature testing
      - Change logback dependency scope from 'compile' to 'test' as we need it
      only for tests, not for compiling -> simplifies dependencies
      - Replaced dependency spring-xml (obsolete) with spring-core because we
      only use org.springframework.util.* -> simplifies dependencies 
      - Fix header plugin that was missing path to header license, and
      'format' goals
      - Refactor - extracted PDP interface and moved default implementation to
      PDPImpl class, to hide internals from potential PDP API client and
      improve genericity
      - Refactor - extracted RequestFilter interface from abstract class and
      moved abstract class code to BaseRequestFilter class to hide internals
      from potential RequestFilter API client and improve genericity; and to
      merge common code between DefaultRequestFilter and
      - Refactor - extracted IndividualDecisionRequest interface from abstract
      class and moved abstract class code to MutableIndividualDecisionRequest
      and ImmutableIndividualDecisionRequest classes, to hide internals from
      potential RequestFilter API client and improve genericity
      - Made BasePdpExtensionRegistry mutable to allow adding extensions after
      creating instance from an exiting one
      - DecisionResult renamed to more explicit name PolicyDecisionResult
      - Moved old README content to another project (rest-service) since does
      not apply anymore, and replaced with proper content.
  8. 18 Nov, 2015 1 commit
    • Cyril Dangerville's avatar
      - Replaced Finder with Provider (more generic) in terms · ce305116
      Cyril Dangerville authored
      AttributeFinder, PolicyFinder, etc. and also in schema files
      - Restructured and improved/fixed unit tests
      - Added unit tests for circular and undefined
      - Added HTML description for conformance tests
      - Removed TestMatchAlg, replaced with official conformance test on
      Target matching -> group II.B.
  9. 13 Nov, 2015 1 commit
  10. 16 Oct, 2015 1 commit
  11. 17 Aug, 2015 1 commit
  12. 13 Mar, 2015 1 commit
  13. 12 Jan, 2015 1 commit
  14. 29 Dec, 2014 1 commit
    • Cyril Dangerville's avatar
      - Added PDP XML schema for loading PDP configuration using JAXB only · 49b36532
      Cyril Dangerville authored
      (not DOM) -> PdpConfigurationManager
      - Fixed NPE in permit-unless-deny/deny-unless-permit algs
      - Fixed deny-unless-permit/deny-unless-permit algs to combine
      obligations/advice from combined elements (not only the one that
      returned permit for denyUnlessPermit, or deny for permitUnlessDeny, but
      also others)
      - Removed commented classes/dead code/code not used anymore
      - Added framework for handling PDP extension: IPdpExtension interface
      and use it as interface for all PDP extensions starting with
      AttributeFinderModule, PolicyFinderModule with corresponding XML type
      (module/extension configuration model) as type parameter;
      PdpExtensionFactory, PdpModelHandler, SchemaHandler
      - Changed parent project version to last SNAPSHOT
      - Add gpl license for src/main/java/com/thalesgroup/authzforce/core
      - Updated Thales Apache license
      - Added PdpBean to use PDP as JNDI resource
      - moved license files out of src/ folder to distinguish from source code
      - Removed thales author names from comment (control version system, e.g.
      git, is more reliable)
      - Added PdpModelHandler to handle PDP configuration model with support
      of dynamic extension loading (attribute finders, policy finders, etc.)
      - Added PdpConfigurationManager does the job of ConfigurationStore but
      using JAXB and new PDP Configuration XML schema instead of DOM, meant to
      replace ConfigurationStore completely
      - Replaced use of custom com.sun.xacml.CacheManager with Ehcache cache
      - Migrated code to java7 style