Class MultiDecisionXacmlJaxbRequestPreprocessor

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

    public final class MultiDecisionXacmlJaxbRequestPreprocessor
    extends org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbRequestPreprocessor
    XACML/XML Request preprocessor implementing Multiple Decision Profile, section 2.3 (repeated attribute categories). Other schemes are not supported.
    Version:
    $Id: $
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MultiDecisionXacmlJaxbRequestPreprocessor.LaxVariantFactory
      Factory for this type of request preprocessor 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).
      static class  MultiDecisionXacmlJaxbRequestPreprocessor.StrictVariantFactory
      Factory for this type of request preprocessor that 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).
      • Nested classes/interfaces inherited from class org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbRequestPreprocessor

        org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbRequestPreprocessor.Factory
    • Field Summary

      • Fields inherited from class org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbRequestPreprocessor

        UNSUPPORTED_MULTI_REQUESTS_EXCEPTION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.ow2.authzforce.core.pdp.api.io.IndividualXacmlJaxbRequest> process​(List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> attributesList, org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> xacmlAttrsParser, boolean isApplicablePolicyIdListReturned, boolean combinedDecision, Optional<org.ow2.authzforce.core.pdp.api.expression.XPathCompilerProxy> xPathCompiler, Map<String,​String> namespaceURIsByPrefix)
      • Methods inherited from class org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbRequestPreprocessor

        getInputRequestType, getOutputRequestType, process
    • Method Detail

      • process

        public List<org.ow2.authzforce.core.pdp.api.io.IndividualXacmlJaxbRequest> process​(List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> attributesList,
                                                                                           org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> xacmlAttrsParser,
                                                                                           boolean isApplicablePolicyIdListReturned,
                                                                                           boolean combinedDecision,
                                                                                           Optional<org.ow2.authzforce.core.pdp.api.expression.XPathCompilerProxy> xPathCompiler,
                                                                                           Map<String,​String> namespaceURIsByPrefix)
                                                                                    throws org.ow2.authzforce.core.pdp.api.IndeterminateEvaluationException
        Specified by:
        process in class org.ow2.authzforce.core.pdp.api.io.BaseXacmlJaxbRequestPreprocessor
        Throws:
        org.ow2.authzforce.core.pdp.api.IndeterminateEvaluationException