rice.scribe.security
Interface IScribeSecurityManager

All Known Implementing Classes:
PSecurityManager

public interface IScribeSecurityManager

The Scribe security manager interface.


Method Summary
 boolean verifyCanCreate(NodeHandle handle, NodeId topicId)
          Verify that the node handle has permission to create a topic.
 boolean verifyCanPublish(NodeHandle handle, NodeId topicId)
          Verify that the node handle has permission to publish to a topic.
 boolean verifyCanSubscribe(NodeHandle handle, NodeId topicId)
          Verify that the node handle has permission to subscribe to a topic.
 

Method Detail

verifyCanCreate

public boolean verifyCanCreate(NodeHandle handle,
                               NodeId topicId)
Verify that the node handle has permission to create a topic.

Parameters:
handle - the node that will be verified
topicId - the topic that the node is trying to access
Returns:
true if the node should have access, false otherwise

verifyCanPublish

public boolean verifyCanPublish(NodeHandle handle,
                                NodeId topicId)
Verify that the node handle has permission to publish to a topic.

Parameters:
handle - the node that will be verified
topicId - the topic that the node is trying to access
Returns:
true if the node should have access, false otherwise

verifyCanSubscribe

public boolean verifyCanSubscribe(NodeHandle handle,
                                  NodeId topicId)
Verify that the node handle has permission to subscribe to a topic.

Parameters:
handle - the node that will be verified
topicId - the topic that the node is trying to access
Returns:
true if the node should have access, false otherwise





Imprint-Dataprotection