| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.pastry.socket.SocketPastrySecurityManager
Security manager for socket connections between nodes.
| Constructor Summary | |
SocketPastrySecurityManager(SocketNodeHandle snh,
                            SocketNodeHandlePool snhp)
Constructor.  | 
|
| Method Summary | |
 java.util.Date | 
getTimestamp()
Gets the current time for a timestamp.  | 
 void | 
setLocalPastryNode(PastryNode pn)
Sets the local Pastry node after it is fully constructed.  | 
 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 SocketPastrySecurityManager(SocketNodeHandle snh,
                                   SocketNodeHandlePool snhp)
snh - DESCRIBE THE PARAMETERsnhp - DESCRIBE THE PARAMETER| Method Detail | 
public java.util.Date getTimestamp()
getTimestamp in interface PastrySecurityManagerpublic void setLocalPastryNode(PastryNode pn)
pn - local Pastry node.public boolean verifyMessage(Message msg)
verifyMessage in interface PastrySecurityManagermsg - a message.
public boolean verifyAddressBinding(Credentials cred,
                                    Address addr)
verifyAddressBinding in interface PastrySecurityManagercred - some credentials.addr - an address.
public NodeHandle verifyNodeHandle(NodeHandle handle)
verifyNodeHandle in interface PastrySecurityManagerhandle - the handle to check.
  | 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||