Class TestCombinedDecisionXacmlJaxbResultPostprocessor
java.lang.Object
org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbResultPostprocessor
org.ow2.authzforce.core.pdp.testutil.ext.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 ClassesModifier and TypeClassDescriptionstatic final class
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 Summary
Modifier and TypeMethodDescriptionoasis.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) Methods inherited from class org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbResultPostprocessor
convert, getRequestType, getResponseType, processClientError, processInternalError
-
Method Details
-
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 interfaceorg.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 classorg.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbResultPostprocessor
-