INPUT_DECISION_REQUEST
- type of original input decision request handled by this class. It 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.OUTPUT_DECISION_RESULT
- type of output result corresponding to ADAPTER_INPUT_DECISION_REQUEST. Usually serializable, e.g. XACML-schema-derived JAXB Result for XML.public interface PdpEngineInoutAdapter<INPUT_DECISION_REQUEST,OUTPUT_DECISION_RESULT> extends Closeable
PdpEngine
to support extra types of input/output decision request/response (e.g. XACML/JAXB (XML) or XACML JSON Profile).Modifier and Type | Method and Description |
---|---|
OUTPUT_DECISION_RESULT |
evaluate(INPUT_DECISION_REQUEST request)
Same as
evaluate(Object, Map) but with null/empty namespaceURIsByPrefix |
OUTPUT_DECISION_RESULT |
evaluate(INPUT_DECISION_REQUEST request,
Map<String,String> namespaceURIsByPrefix)
Evaluates a XML/JAXB-based XACML decision request
|
Iterable<PrimaryPolicyMetadata> |
getApplicablePolicies()
Get the PDP engine's evaluated root policy and policies referenced - directly or indirectly - from the root policy, independent from the evaluation context, i.e.
|
OUTPUT_DECISION_RESULT evaluate(INPUT_DECISION_REQUEST request, Map<String,String> namespaceURIsByPrefix)
Note that if the request is somehow invalid (it was missing a required attribute, it was using an unsupported scope, etc), then the result will be a decision of INDETERMINATE.
request
- the request to evaluatenamespaceURIsByPrefix
- 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 evaluationOUTPUT_DECISION_RESULT evaluate(INPUT_DECISION_REQUEST request)
evaluate(Object, Map)
but with null/empty namespaceURIsByPrefix
request
- the request to evaluateIterable<PrimaryPolicyMetadata> getApplicablePolicies()
Copyright © 2012–2020. All rights reserved.