INDIVIDUAL_DECISION_REQUEST
- type of individual decision request.OUTPUT_DECISION_RESPONSE
- type of output decision response. Usually serializable, e.g. XACML-schema-derived JAXB Result for XML.public interface DecisionResultPostprocessor<INDIVIDUAL_DECISION_REQUEST extends DecisionRequest,OUTPUT_DECISION_RESPONSE>
Note: this interface is meant to be generic enough to be independent of the Result data serialization format (XML, JSON...).
Modifier and Type | Interface and Description |
---|---|
static interface |
DecisionResultPostprocessor.Factory<IDREQ extends DecisionRequest,RES>
Factory of result post-processors
|
static class |
DecisionResultPostprocessor.Features
Standard feature identifiers that may be returned by
getFeatures() |
Modifier and Type | Method and Description |
---|---|
default Set<String> |
getFeatures()
Get supported features, e.g.
|
Class<INDIVIDUAL_DECISION_REQUEST> |
getRequestType()
Gets the class of supported individual decision request objects
|
Class<OUTPUT_DECISION_RESPONSE> |
getResponseType()
Gets the class of output decision response
|
OUTPUT_DECISION_RESPONSE |
process(Collection<Map.Entry<INDIVIDUAL_DECISION_REQUEST,? extends DecisionResult>> resultsByRequest)
Process multiple individual decision results (e.g.
|
OUTPUT_DECISION_RESPONSE |
processClientError(IndeterminateEvaluationException error)
Process an indeterminate result, i.e.
|
OUTPUT_DECISION_RESPONSE |
processInternalError(IndeterminateEvaluationException error)
Process an indeterminate result, i.e.
|
Class<INDIVIDUAL_DECISION_REQUEST> getRequestType()
Class<OUTPUT_DECISION_RESPONSE> getResponseType()
default Set<String> getFeatures()
OUTPUT_DECISION_RESPONSE process(Collection<Map.Entry<INDIVIDUAL_DECISION_REQUEST,? extends DecisionResult>> resultsByRequest)
resultsByRequest
- results mapped to corresponding individual decision requests for correlationOUTPUT_DECISION_RESPONSE processClientError(IndeterminateEvaluationException error)
error
- client request errorOUTPUT_DECISION_RESPONSE processInternalError(IndeterminateEvaluationException error)
For security reasons, error details should not be included in this case as they may disclose PDP internal issues (e.g. bad configuration) to clients.
error
- internal errorCopyright © 2012–2020. All rights reserved.