|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.security.PermissiveSecurityManager
public class PermissiveSecurityManager
A trivial security manager.
Constructor Summary | |
---|---|
PermissiveSecurityManager()
|
Method Summary | |
---|---|
java.util.Date |
getTimestamp()
Gets the current time for a timestamp. |
boolean |
verifyAddressBinding(Credentials cred,
Address addr)
Checks to see if these credentials can be associated with the address. |
boolean |
verifyMessage(Message msg)
This method takes a message and returns true if the message is safe and false otherwise. |
NodeHandle |
verifyNodeHandle(NodeHandle handle)
Verify node handle safety. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PermissiveSecurityManager()
Method Detail |
---|
public boolean verifyMessage(Message msg)
PastrySecurityManager
verifyMessage
in interface PastrySecurityManager
msg
- a message.
public boolean verifyAddressBinding(Credentials cred, Address addr)
PastrySecurityManager
verifyAddressBinding
in interface PastrySecurityManager
cred
- some credentials.addr
- an address.
public NodeHandle verifyNodeHandle(NodeHandle handle)
PastrySecurityManager
verifyNodeHandle
in interface PastrySecurityManager
handle
- the handle to check.
public java.util.Date getTimestamp()
PastrySecurityManager
getTimestamp
in interface PastrySecurityManager
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |