Class TestCombinedDecisionXacmlJaxbResultPostprocessor

  • All Implemented Interfaces:
    org.ow2.authzforce.core.pdp.api.DecisionResultPostprocessor<org.ow2.authzforce.core.pdp.api.io.IndividualXacmlJaxbRequest,​oasis.names.tc.xacml._3_0.core.schema.wd_17.Response>

    public class TestCombinedDecisionXacmlJaxbResultPostprocessor
    extends org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbResultPostprocessor
    XACML Result postprocessor implementing the functionality 'urn:oasis:names:tc:xacml:3.0:profile:multiple:combined-decision' from XACML v3.0 Multiple Decision Profile Version 1.0. Edited by Erik Rissanen. 18 May 2014. OASIS Committee Specification 02.

    Used here for testing Authzforce Result postprocessor extension mechanism, i.e. plugging a custom decision Result postprocessor into the PDP engine.

    NB: the spec does not mention the inclusion of element <PolicyIdentifierList>. At least, it does not say to remove it, so in theory there is no reason why we should not include it. However, in this test implementation, we don't include any <PolicyIdentifierList> in the final result, for the sake of simplicity. So BEWARE!

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TestCombinedDecisionXacmlJaxbResultPostprocessor.Factory
      Factory for this type of result postprocessor filter that 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).
      • Nested classes/interfaces inherited from interface org.ow2.authzforce.core.pdp.api.DecisionResultPostprocessor

        org.ow2.authzforce.core.pdp.api.DecisionResultPostprocessor.Features
    • Method Detail

      • getFeatures

        public Set<String> getFeatures()
      • process

        public oasis.names.tc.xacml._3_0.core.schema.wd_17.Response process​(Collection<Map.Entry<org.ow2.authzforce.core.pdp.api.io.IndividualXacmlJaxbRequest,​? extends org.ow2.authzforce.core.pdp.api.DecisionResult>> resultsByRequest)
        Specified by:
        process in interface org.ow2.authzforce.core.pdp.api.DecisionResultPostprocessor<org.ow2.authzforce.core.pdp.api.io.IndividualXacmlJaxbRequest,​oasis.names.tc.xacml._3_0.core.schema.wd_17.Response>
        Overrides:
        process in class org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbResultPostprocessor