|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.scribe.security.PSecurityManager
Implementation of a trivial security manager. It allows all accesses.
Constructor Summary | |
PSecurityManager()
|
Method Summary | |
boolean |
verifyCanCreate(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to create a topic. |
boolean |
verifyCanPublish(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to publish to a topic. |
boolean |
verifyCanSubscribe(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to subscribe to a topic. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PSecurityManager()
Method Detail |
public boolean verifyCanCreate(rice.pastry.NodeHandle handle, rice.pastry.NodeId topicId)
verifyCanCreate
in interface IScribeSecurityManager
handle
- the node that will be verifiedtopicId
- the topic that the node is trying to access
public boolean verifyCanPublish(rice.pastry.NodeHandle handle, rice.pastry.NodeId topicId)
verifyCanPublish
in interface IScribeSecurityManager
handle
- the node that will be verifiedtopicId
- the topic that the node is trying to access
public boolean verifyCanSubscribe(rice.pastry.NodeHandle handle, rice.pastry.NodeId topicId)
verifyCanSubscribe
in interface IScribeSecurityManager
handle
- the node that will be verifiedtopicId
- the topic that the node is trying to access
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |