Interface IPolicyEnforcementPoint
- All Superinterfaces:
IMyDataComponent
Policy Enforcement Points intercept system events and communicate with the
PDP to get a corresponding decision.
- Author:
- Fraunhofer IESE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
* Enforces PDP decision to the event if any PDP subscribes to ActionID of the event.void
enforceDecision
(Event event, AuthorizationDecision decision) It enforces the authorization decision to the event.getDecision
(Event event) * It sends the event to subscribed PDP and returns AuthorizationDecision of PDP.boolean
Methods inherited from interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
getHealth, getId, reset
-
Method Details
-
enforce
* Enforces PDP decision to the event if any PDP subscribes to ActionID of the event.- Parameters:
event
- to be sent to PDP and AuthorizationDecision to be enforced- Throws:
InhibitException
- if event is not allowed by PDPEvaluationUndecidableException
- is thrown by PDP if it was not possible to evaluateIOException
- if there is a interruption in communication with PDP
-
enforceDecision
It enforces the authorization decision to the event.- Parameters:
event
- on what decision to be enforceddecision
- which is to be enforced- Throws:
InhibitException
- if event is not allowed by PDP
-
getDecision
* It sends the event to subscribed PDP and returns AuthorizationDecision of PDP.- Parameters:
event
- to be sent to subscribed PDP- Returns:
- AuthorizationDecision which is returned by subscribed PDP
- Throws:
EvaluationUndecidableException
- is thrown by PDP if it was not possible to evaluateIOException
- if there is a interruption in communication with PDP
-
initialize
- Throws:
IOException
NoSuchEntityException
-