kaos.core.csi.policy.enforcement
Interface CommunicationActionEnforcer
- All Superinterfaces:
- Enforcer, KAoSExtensionComponent
public interface CommunicationActionEnforcer
- extends Enforcer
This interface defines methods for an enforcer enforcing CommunicationAction.
- Author:
- KAoS Team
$Revision: 1.4 $
Method Summary |
void |
authorizeCommunicationAction(java.lang.String performedBy,
java.lang.String hasDestination,
java.lang.String carriesMessage,
java.lang.String hasPartner,
java.lang.String dsTransportName)
Authorize a communication action described by properties expressed by the arguments to this method. |
authorizeCommunicationAction
void authorizeCommunicationAction(java.lang.String performedBy,
java.lang.String hasDestination,
java.lang.String carriesMessage,
java.lang.String hasPartner,
java.lang.String dsTransportName)
throws KAoSSecurityException,
java.lang.NullPointerException,
ServiceFailure
- Authorize a communication action described by properties expressed by the arguments to this method.
Authorization is based on the current set of policies stored in the Guard.
All arguments, except for the dsTransportName, contain the values of properties with the same name
defined in the ontology for CommunicationAction.
- Parameters:
performedBy
- String containing the name of the actor performing the CommunicationAction.hasDestination
- String containing the name of the entity receiving the CommunicationAction.carriesMessage
- String containing the content of the CommunicationAction.hasPartner
- String containing the name of the partner in the CommunicationAction.dsTransportName
- String containing the name of the transport used by KAoS Policy service
and other KAoS services to communicate with each other.
- Throws:
KAoSSecurityException
- when the CommunicationAction is forbidden by the current policies.
java.lang.NullPointerException
- when performedBy is null.
ServiceFailure
- when the Policy service cannot be obtained, or fails durin action authorization.
Copyright © 2006 IHMC All Rights Reserved.