|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PolicyDisclosure
This interface defines methods to select obligation actions for the given trigger condition ActionInstanceDescription.
| Method Summary | |
|---|---|
void |
checkDeepPermission(java.security.Permission perm,
java.lang.Object context)
The method checks if the given action is permitted according to the current set of policies. |
java.util.Vector |
findPolicyDecision(java.security.Permission perm,
java.lang.Object context)
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.lang.Integer |
getPolicyUpdateCount()
Returns count of the number of times the policy has been updated. |
| Methods inherited from interface kaos.policy.query.AuthorizationPolicyDisclosure |
|---|
checkPermission, getAllowableValuesForActionProperties, getAllowableValuesForActionProperties, getAllowableValuesForActionProperty, getPoliciesForActionType |
| Methods inherited from interface kaos.policy.query.ObligationPolicyDisclosure |
|---|
getObligationsForTriggerCondition |
| Method Detail |
|---|
java.lang.Integer getPolicyUpdateCount()
throws ServiceFailure
ServiceFailure
void checkDeepPermission(java.security.Permission perm,
java.lang.Object context)
throws java.lang.NullPointerException,
ServiceFailure,
KAoSSecurityException
perm - Permission to be checked by the Guard in order to allow/disallow
an action.context - An Object describing the context of the action.
java.lang.NullPointerException - if the Permission argument is null.
KAoSSecurityException - containing the ids of
forbidding policies, if any.
ServiceFailure
java.util.Vector findPolicyDecision(java.security.Permission perm,
java.lang.Object context)
throws ObligationViolationException,
KAoSSecurityException,
java.lang.NullPointerException,
ServiceFailure
perm - Permission to be checked by the Guard in order to allow/disallow
an action; or the trigger to be checked for obligation policies.context - An Object describing the context of the action.
KAoSSecurityException - if the action is not allowed.
java.lang.NullPointerException - if the Permission argument is null.
ObligationViolationException
ServiceFailure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||