kaos.policy.guard
Interface EnforcerManager

All Known Subinterfaces:
EnforcerManagerService, Guard
All Known Implementing Classes:
KAoSGridGuard, KAoSGuard

public interface EnforcerManager

This interface is exposed by the Guard to the enforcers. $Revision: 1.4 $


Method Summary
 boolean registerEnforcer(Enforcer enforcer, java.lang.String actionType, java.util.List subjectIDs)
          Register an enforcer with the Guard.
 

Method Detail

registerEnforcer

boolean registerEnforcer(Enforcer enforcer,
                         java.lang.String actionType,
                         java.util.List subjectIDs)
Register an enforcer with the Guard.

Parameters:
enforcer - the Enforcer that is being registered.
actionType - the type of action the registering enforcer will enforce.
subjectIDs - the List of subject IDs of agents associated with the enforced action.
Returns:
boolean indicating whether the enforcer was successfully registered