|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyChecking
Defines the operations to check permissions and get obligations.
Method Summary | |
---|---|
void |
checkDeepPermission(ActionInstanceDescription aid,
PolicyDecisionObserver pObserver)
The method checks if the given action is permitted according to the current set of policies. |
void |
checkPermission(ActionInstanceDescription aid,
PolicyDecisionObserver pObserver)
The method checks if the given action is permitted according to the current set of policies. |
void |
findPolicyDecision(ActionInstanceDescription aid,
PolicyDecisionObserver pObserver)
The method checks if the given action is permitted according to the current set of policies, or if the given action is a trigger for some obligation policy. |
java.util.Vector |
getObligationsForTriggerCondition(ActionInstanceDescription triggerAID,
PolicyDecisionObserver pObserver)
Based on the specified trigger ActionInstanceDescription, select all matching obligation policies and create ActionInstanceDescription describing obligations. |
Method Detail |
---|
void checkPermission(ActionInstanceDescription aid, PolicyDecisionObserver pObserver) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
aid
- ActionInstanceDescription describing actionpObserver
- PolicyDecisionObserver, an entity interested in receiving updates
whenever policy decisions change.
KAoSSecurityException
- if the action is not allowed.
java.lang.NullPointerException
- if the ActionInstanceDescription argument is null.
ServiceFailure
- if the policy service is not available or fails.void checkDeepPermission(ActionInstanceDescription aid, PolicyDecisionObserver pObserver) throws java.lang.NullPointerException, ServiceFailure, KAoSSecurityException
aid
- ActionInstanceDescription to be checked by the Guard in order to allow/disallow
an action.pObserver
- PolicyDecisionObserver, an entity interested in receiving updates
whenever policy decisions change.
java.lang.NullPointerException
- if the aid argument is null.
ServiceFailure
- if the policy service is not available, or fails.
KAoSSecurityException
- if the action is not permitted.void findPolicyDecision(ActionInstanceDescription aid, PolicyDecisionObserver pObserver) throws ObligationViolationException, KAoSSecurityException, ServiceFailure
aid
- ActionInstanceDescription to be checked by the Guard in order to allow/disallow
the action; or the trigger to be checked for obligation policies.pObserver
- PolicyDecisionObserver, an entity interested in receiving updates
whenever policy decisions change.
ObligationViolationException
- some aspect of the returned obligations
have been violated
ServiceFailure
- if the policy service is not available, or fails.
KAoSSecurityException
- if the action is not permitted.java.util.Vector getObligationsForTriggerCondition(ActionInstanceDescription triggerAID, PolicyDecisionObserver pObserver) throws ObligationViolationException, ServiceFailure
triggerAID
- ActionInstanceDescription describes an instance of the trigger condition sent
by the trigger condition monitor.pObserver
- PolicyDecisionObserver, an entity interested in receiving updates
whenever policy decisions change.
ObligationViolationException
- when specified obligation constraints in a policy applicable
to the given trigger are not satisfied.
ServiceFailure
- if the policy service is not available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |