public interface IPolicyEnforcementPoint extends IComponent
| Modifier and Type | Method and Description |
|---|---|
void |
enforce(Event event)
* 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.
|
AuthorizationDecision |
getDecision(Event event)
* It sends the event to subscribed PDP and returns AuthorizationDecision of
PDP.
|
getHealth, getId, initialize, resetvoid enforce(Event event) throws InhibitException, EvaluationUndecidableException, IOException
event - to be sent to PDP and AuthorizationDecision to be enforcedInhibitException - 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 PDPvoid enforceDecision(Event event, AuthorizationDecision decision) throws InhibitException
event - on what decision to be enforceddecision - which is to be enforcedInhibitException - if event is not allowed by PDPAuthorizationDecision getDecision(Event event) throws EvaluationUndecidableException, IOException
event - to be sent to subscribed PDPEvaluationUndecidableException - is thrown by PDP if it was not
possible to evaluateIOException - if there is a interruption in communication with PDPCopyright © 2018. All rights reserved.