|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.scribe.security.PSecurityManager
Implementation of a trivial security manager. It allows all accesses.
Constructor Summary | |
PSecurityManager()
|
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. |
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(NodeHandle handle, 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(NodeHandle handle, 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(NodeHandle handle, NodeId topicId)
verifyCanSubscribe
in interface IScribeSecurityManager
handle
- the node that will be verifiedtopicId
- the topic that the node is trying to access
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |