kaos.policy.management
Interface PolicyModification

All Known Subinterfaces:
DirectoryService
All Known Implementing Classes:
GridDirectoryServicePolicyCert, KAoSDirectoryService, TunnelClient

public interface PolicyModification

Provides methods enabling analyzes of policies.


Method Summary
 void changedPriority(java.lang.String policyId, int newPriority)
          Method allowing to modify priority of a policy to either eliminate conflict or to alter policy precedence relation
 java.util.List harmonizePolicy(java.lang.String harmonizedPolicy, java.lang.String harmonizingPolicy)
          Method deconflicting the added policy with policies currently in the Policy Directory
 java.util.List splitPolicy(java.lang.String spliPolicy, java.lang.String secondPolicy)
          Method spliting the controlled action of the selected policy one part that overlaps with the second policy and the other part which does not.
 

Method Detail

changedPriority

void changedPriority(java.lang.String policyId,
                     int newPriority)
                     throws DirectoryFailure
Method allowing to modify priority of a policy to either eliminate conflict or to alter policy precedence relation

Parameters:
policyId - id of the policy
newPriority - new priority of the policy
Throws:
DirectoryFailure

harmonizePolicy

java.util.List harmonizePolicy(java.lang.String harmonizedPolicy,
                               java.lang.String harmonizingPolicy)
                               throws DirectoryFailure
Method deconflicting the added policy with policies currently in the Policy Directory

Parameters:
harmonizedPolicy - id of the policy to be harmonized.
harmonizingPolicy - id of the policy harmonizing the first policy
Returns:
List containg ids of policies representing the result of harmonization
Throws:
DirectoryFailure

splitPolicy

java.util.List splitPolicy(java.lang.String spliPolicy,
                           java.lang.String secondPolicy)
                           throws DirectoryFailure
Method spliting the controlled action of the selected policy one part that overlaps with the second policy and the other part which does not. Then the priorities of these parts can be modified independently

Parameters:
spliPolicy - id of the policy to be split.
secondPolicy - id of the policy splitting the first policy
Returns:
List containg ids of policies representing the result of process
Throws:
DirectoryFailure