| org.cougaar.community.CommunityProtectionService
All known Subclasses: org.cougaar.community.manager.CommunityAccessManager,
CommunityProtectionService | public interface CommunityProtectionService extends Service(Code) | | Interface defining CommunityProtectionService used to authorize
CommunityServuce client requests.
|
authorize | boolean authorize(String communityName, String requester, int operation, String target, ModificationItem[] attrMods)(Code) | | Authorize request to read or modify community state.
Parameters: communityName - String Name of affected community Parameters: requester - String Name of requesting agent Parameters: operation - int Requested operation (refer toorg.cougaar.core.service.CommunityServiceConstantsfor valid op codes) Parameters: target - String Name of affected community member or null iftarget is community Parameters: attrMods - Requested attribute modifications if requesttype is MODIFY_ATTRIBUTES, ignored otherwise boolean Return true if request is authorized bycurrent policy |
|
|