OUTPUT_INDIVIDUAL_DECISION_REQUEST
- type of output individual decision request.INPUT_DECISION_REQUEST
- type of original input decision request that may correspond to multiple individual decision requests (e.g. using XACML Multiple Decision Profile). Usually serializable, e.g.
XACML-schema-derived JAXB Request for XML.public interface DecisionRequestPreprocessor<INPUT_DECISION_REQUEST,OUTPUT_INDIVIDUAL_DECISION_REQUEST extends DecisionRequest>
DecisionResultPostprocessor
.
PDP extensions of this type (to support new ways of pre-processing XACML decision requests) must implement the DecisionRequestPreprocessor.Factory
class
Note: this interface is meant to be generic enough to be independent of the actual original input data format (XML, JSON...).
Modifier and Type | Interface and Description |
---|---|
static interface |
DecisionRequestPreprocessor.Factory<IDR,OIDR extends DecisionRequest>
Factory of request preprocessors
|
Modifier and Type | Method and Description |
---|---|
Class<INPUT_DECISION_REQUEST> |
getInputRequestType()
Returns the type of input requests
|
Class<OUTPUT_INDIVIDUAL_DECISION_REQUEST> |
getOutputRequestType()
Returns the type of output individual decision requests
|
List<OUTPUT_INDIVIDUAL_DECISION_REQUEST> |
process(INPUT_DECISION_REQUEST req,
Map<String,String> namespaceURIsByPrefix)
Pre-processes a decision request, may result in multiple individual decision requests, e.g.
|
Class<INPUT_DECISION_REQUEST> getInputRequestType()
INPUT_DECISION_REQUEST
class.Class<OUTPUT_INDIVIDUAL_DECISION_REQUEST> getOutputRequestType()
OUTPUT_INDIVIDUAL_DECISION_REQUEST
class.List<OUTPUT_INDIVIDUAL_DECISION_REQUEST> process(INPUT_DECISION_REQUEST req, Map<String,String> namespaceURIsByPrefix) throws IndeterminateEvaluationException
req
- input RequestnamespaceURIsByPrefix
- namespace prefix-URI mappings (e.g. "... xmlns:prefix=uri") in the original XACML Request bound to req
, used as part of the context for XPath evaluation; may be null if such
mapping definedReturn a Collection and not array to make it easy for the implementer to create a defensive copy with Collections#unmodifiableList() and alike.
IndeterminateEvaluationException
- if some feature requested in the Request is not supported by thisCopyright © 2012–2020. All rights reserved.