Package org.ow2.authzforce.core.pdp.api
Interface DecisionResultPostprocessor.Factory<IDREQ extends DecisionRequest,RES>
-
- Type Parameters:
IDREQ
- type of original individual decision request. Some of its elements may be used in the output result, e.g. if XACML IncludeInResult="true".RES
- type of output result corresponding to individual decision request(s). Usually serializable, e.g. XACML-schema-derived JAXB Result for XML.
- All Superinterfaces:
PdpExtension
- All Known Implementing Classes:
BaseXacmlJaxbResultPostprocessor.Factory
- Enclosing interface:
- DecisionResultPostprocessor<INDIVIDUAL_DECISION_REQUEST extends DecisionRequest,OUTPUT_DECISION_RESPONSE>
public static interface DecisionResultPostprocessor.Factory<IDREQ extends DecisionRequest,RES> extends PdpExtension
Factory of result post-processors
-
-
Field Summary
-
Fields inherited from interface org.ow2.authzforce.core.pdp.api.PdpExtension
AUTHZFORCE_EXTENSION_PREFIX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecisionResultPostprocessor<IDREQ,RES>
getInstance(int clientRequestErrorVerbosityLevel)
Create instance of Result postprocessorClass<IDREQ>
getRequestType()
Gets the type of individual decision requests handled by created instancesClass<RES>
getResponseType()
Gets the type of output decision response produced by created instances-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.PdpExtension
getId
-
-
-
-
Method Detail
-
getRequestType
Class<IDREQ> getRequestType()
Gets the type of individual decision requests handled by created instances- Returns:
- (individual decision) request type parameter
-
getResponseType
Class<RES> getResponseType()
Gets the type of output decision response produced by created instances- Returns:
- result type parameter
-
getInstance
DecisionResultPostprocessor<IDREQ,RES> getInstance(int clientRequestErrorVerbosityLevel)
Create instance of Result postprocessor- Parameters:
clientRequestErrorVerbosityLevel
- Level of verbosity of the error message trace returned in case of client request errors, e.g. invalid requests. Increasing this value usually helps the clients better pinpoint the issue with their Requests. This parameter applies toDecisionResultPostprocessor.processClientError(IndeterminateEvaluationException)
which is expected to enforce this verbosity level when returning the error result. The Result postprocessor must return all error messages in the Java stacktrace up to the same level as this parameter's value if the stacktrace is bigger, else the full stacktrace.- Returns:
- instance of Result postprocessor
-
-