|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Client to NameRegistry interfaces
Method Summary | |
void |
adminRebindNameRegistry(ajanta.naming.URN urn,
ajanta.naming.NREntry entry,
ajanta.util.Ticket ticket)
|
ajanta.util.Ticket |
authenticate(ajanta.naming.URN caller,
int nonce,
ajanta.util.ContextObject context)
gets the initial ticket from name registry |
void |
bind(ajanta.naming.URN urn,
ajanta.naming.NREntry entry,
ajanta.util.Ticket ticket)
This call is used to bind an entry to local name registry by a agent server. |
void |
bind(ajanta.naming.URN urn,
ajanta.naming.NREntry entry,
ajanta.naming.URN binder,
ajanta.util.Ticket ticket)
This call is used to bind an entry to remote name registry by a namre registry. |
java.security.cert.X509Certificate |
getCertificate(ajanta.naming.URN urn)
|
java.net.URL |
getCodeBaseURL(ajanta.naming.URN urn)
returns the code base location of an agent server. |
java.security.PublicKey |
getEncryptKey(ajanta.naming.URN urn)
returns the public key encryption key pair |
java.security.cert.X509Certificate |
getNRCertificate()
|
java.security.PublicKey |
getNRVerifyKey(ajanta.naming.URN urn)
returns the verification key of a name registry for the signature key pair |
java.net.URL |
getURL(ajanta.naming.URN urn)
Returs the first entry of the url list for this entry. |
java.util.Vector |
getURLs(ajanta.naming.URN urn)
returns the locations associated with this name |
java.security.PublicKey |
getVerifyKey(ajanta.naming.URN urn)
returns the verification key for the signature key pair |
ajanta.naming.NREntry |
lookup(ajanta.naming.URN urn)
Returns the NREntry object associated with the specified name in the registry. |
ajanta.naming.URN |
newURN()
Return new URN in this Name-Server namespace |
void |
rebind(ajanta.naming.URN urn,
ajanta.naming.NREntry entry,
ajanta.util.Ticket ticket)
This call is used to rebind an entry to local name registry by a agent server. |
void |
rebind(ajanta.naming.URN urn,
ajanta.naming.NREntry entry,
ajanta.naming.URN binder,
ajanta.util.Ticket ticket)
This call is used to rebind an entry to remote name registry by a namre registry. |
void |
rebindAgentServer(ajanta.naming.URN ag,
ajanta.naming.URN server,
ajanta.util.Ticket ticket)
updates the agent server location for an agent entry. |
void |
rebindAgentServer(ajanta.naming.URN ag,
ajanta.naming.URN server,
ajanta.naming.URN binder,
ajanta.util.Ticket ticket)
updates the agent server location for an agent entry. |
Method Detail |
public ajanta.util.Ticket authenticate(ajanta.naming.URN caller, int nonce, ajanta.util.ContextObject context) throws java.rmi.RemoteException
caller
- - client urnnonce
- - challengecontext
- - any aditional context for the ticket
java.rmi.RemoteException
public void bind(ajanta.naming.URN urn, ajanta.naming.NREntry entry, ajanta.util.Ticket ticket) throws java.rmi.AlreadyBoundException, java.rmi.RemoteException
urn
- - the urn will be registeredentry
- - the entry wich contain an aclticket
- - needed for authentication. ticket.signer is the binder
java.rmi.AlreadyBoundException
- If name is already bound.
java.rmi.RemoteException
- If remote operation failedpublic java.util.Vector getURLs(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.net.URL getURL(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.net.URL getCodeBaseURL(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.security.PublicKey getEncryptKey(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.security.PublicKey getVerifyKey(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public ajanta.naming.NREntry lookup(ajanta.naming.URN urn) throws java.rmi.RemoteException
urn
- - the name of the entry
java.rmi.RemoteException
public ajanta.naming.URN newURN() throws java.rmi.RemoteException
java.rmi.RemoteException
public void rebind(ajanta.naming.URN urn, ajanta.naming.NREntry entry, ajanta.util.Ticket ticket) throws java.rmi.RemoteException
urn
- - the urn will be registeredentry
- - the entry wich contain an aclticket
- - needed for authentication. ticket.signer is the binder
java.rmi.RemoteException
- If remote operation failedpublic void rebindAgentServer(ajanta.naming.URN ag, ajanta.naming.URN server, ajanta.util.Ticket ticket) throws java.rmi.RemoteException
ag
- - agent nameserver
- - the new agentserver locationticket
- - needed for authentication. ticket.signer is the binder
java.rmi.RemoteException
public void bind(ajanta.naming.URN urn, ajanta.naming.NREntry entry, ajanta.naming.URN binder, ajanta.util.Ticket ticket) throws java.rmi.AlreadyBoundException, java.rmi.RemoteException
urn
- - the urn will be registeredentry
- - the entry wich contain an aclbinder
- - server's ticket.signer is the binderticket
- - needed for authentication
java.rmi.AlreadyBoundException
java.rmi.RemoteException
public void rebind(ajanta.naming.URN urn, ajanta.naming.NREntry entry, ajanta.naming.URN binder, ajanta.util.Ticket ticket) throws java.rmi.RemoteException
urn
- - the urn will be registeredentry
- - the entry wich contain an aclbinder
- - server's ticket.signer is the binderticket
- - needed for authentication.
java.rmi.RemoteException
public void rebindAgentServer(ajanta.naming.URN ag, ajanta.naming.URN server, ajanta.naming.URN binder, ajanta.util.Ticket ticket) throws java.rmi.RemoteException
ag
- - agent nameserver
- - the new agentserver locationbinder
- - server's ticket.signer is the binderticket
- - needed for authentication. ticket.signer is the binder
java.rmi.RemoteException
public java.security.PublicKey getNRVerifyKey(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public void adminRebindNameRegistry(ajanta.naming.URN urn, ajanta.naming.NREntry entry, ajanta.util.Ticket ticket) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.security.cert.X509Certificate getCertificate(ajanta.naming.URN urn) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.security.cert.X509Certificate getNRCertificate() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |