|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationPolicyDisclosure
Method Summary | |
---|---|
void |
checkPermission(java.security.Permission perm,
java.lang.Object context)
The method check if the given action is permitted according to the current set of policies |
java.util.Vector |
getAllowableValuesForActionProperties(ActionInstanceDescription actionDesc)
In this case, there are NO properties specified. |
java.util.Vector |
getAllowableValuesForActionProperties(java.util.Vector propertyNames,
ActionInstanceDescription actionDesc,
boolean tight)
This function is used when the agent/enforcer has only partial information about an action and would like to determine what range of properties can be allowed by the policy set. |
java.util.List |
getPoliciesForActionType(java.lang.String actionType)
Get policies for the specified action type. |
Method Detail |
---|
void checkPermission(java.security.Permission perm, java.lang.Object context) throws KAoSSecurityException, java.lang.NullPointerException, ServiceFailure
perm
- Permission to be checked by the Guard in order to allow/disallow
an action.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.
ServiceFailure
java.util.List getPoliciesForActionType(java.lang.String actionType) throws ServiceFailure
actionType
- String specifying the action type for the requested policies.
ServiceFailure
java.util.Vector getAllowableValuesForActionProperties(java.util.Vector propertyNames, ActionInstanceDescription actionDesc, boolean tight) throws ServiceFailure
propertyName
- Vector containing the properties for which
values are to be found.actionDesc
- ActionInstanceDescription object which will
be used to find applicable policies.tight
- boolean, if set to 'true', will result in returning
only these values for the missing specified property
which would satisfy some policy if used alone.
ServiceFailure
java.util.Vector getAllowableValuesForActionProperties(ActionInstanceDescription actionDesc) throws ServiceFailure
actionDesc
- ActionInstanceDescription object which will
be used to find applicable policies.
ServiceFailure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |