cgl.narada.service.security
Interface AccessAndAuthorization


public interface AccessAndAuthorization

The access and authorization instance is associated with every KMC. $Date$ $Revision$


Method Summary
 boolean hasPublishRights(int entityId, int templateId)
          Retrieves whether a client has publish rights to a given template
 boolean hasSubscribeRights(int entityId, int templateId)
          Retrieves whether a client has subscribe rights to a given template
 boolean revokePublishRights(int entityId, int templateId)
          Revokes the publish rights for a given a client to a given template.
 boolean revokeSubscribeRights(int entityId, int templateId)
          Revokes the subscribe rights for a given client to a given template.
 String[] templatesPublishedToByClient(int entityId)
          Returns the list of templates that a client publishes and can publish to.
 String[] templatesSubscribedToByClient(int entityId)
          Returns the list of templates that a client has subscribed to.
 

Method Detail

hasPublishRights

boolean hasPublishRights(int entityId,
                         int templateId)
Retrieves whether a client has publish rights to a given template


hasSubscribeRights

boolean hasSubscribeRights(int entityId,
                           int templateId)
Retrieves whether a client has subscribe rights to a given template


revokePublishRights

boolean revokePublishRights(int entityId,
                            int templateId)
Revokes the publish rights for a given a client to a given template.


revokeSubscribeRights

boolean revokeSubscribeRights(int entityId,
                              int templateId)
Revokes the subscribe rights for a given client to a given template. This revocation of subscription rights must also result in the generation of new template keys associated with the template


templatesPublishedToByClient

String[] templatesPublishedToByClient(int entityId)
Returns the list of templates that a client publishes and can publish to.


templatesSubscribedToByClient

String[] templatesSubscribedToByClient(int entityId)
Returns the list of templates that a client has subscribed to.



For comments and suggestions please send e-mail to The NaradaBrokering Project
Project
font>