ajanta.naming
Class AgentServerNREntry

java.lang.Object
  |
  +--ajanta.util.AjantaIdentity
        |
        +--ajanta.naming.NREntry
              |
              +--ajanta.naming.AgentServerNREntry
All Implemented Interfaces:
java.security.Principal, java.io.Serializable

public class AgentServerNREntry
extends NREntry

Agent Server NR Entry class. Contains Agent Server specific info

See Also:
Serialized Form

Constructor Summary
AgentServerNREntry(ajanta.naming.URN name)
          Constructor Owner of the acl entry for this nrEntry is the name of the entry
AgentServerNREntry(ajanta.naming.URN name, java.net.URL location)
          Constructor Owner of the acl entry for this nrEntry is the name of the entry
AgentServerNREntry(ajanta.naming.URN name, java.net.URL location, java.net.URL cb, java.net.URL rmi, java.security.PublicKey encrypt, java.security.PublicKey verify)
          Constructor
AgentServerNREntry(ajanta.naming.URN owner, ajanta.naming.URN name)
          Constructor
AgentServerNREntry(ajanta.naming.URN owner, ajanta.naming.URN name, java.net.URL location)
          Constructor
AgentServerNREntry(ajanta.naming.URN owner, ajanta.naming.URN name, java.net.URL location, java.net.URL cb, java.net.URL rmi, java.security.PublicKey encrypt, java.security.PublicKey verify)
          Constructor
 
Method Summary
 java.net.URL getCodeBaseURL()
          returns the code base url for this agent server
 java.net.URL getRMIRegURL()
          return the rmi url for this agent server
 void setCodeBaseURL(java.net.URL cb)
          sets the code base url for this agent server
 
Methods inherited from class ajanta.naming.NREntry
addAclOwner, addCreateNamePermission, addCreateNamePermission, addLocation, addWritePermission, addWritePermission, checkCreateNamePermission, checkWritePermission, getAcl, getCertificate, getCreationDomain, getEncryptKey, getLastAccessTime, getLastModTime, getURL, getURLs, getURN, getVerifyKey, isAclOwner, removeCreateNamePermission, removeWritePermission, setCertificate, toString
 
Methods inherited from class ajanta.util.AjantaIdentity
getName, getPublicKey, setPublicKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Constructor Detail

AgentServerNREntry

public AgentServerNREntry(ajanta.naming.URN owner,
                          ajanta.naming.URN name)
Constructor

Parameters:
owner - - owner of the acl entry for this nrEntry
name - urn of this entry

AgentServerNREntry

public AgentServerNREntry(ajanta.naming.URN name)
Constructor Owner of the acl entry for this nrEntry is the name of the entry

Parameters:
name - urn of this entry

AgentServerNREntry

public AgentServerNREntry(ajanta.naming.URN owner,
                          ajanta.naming.URN name,
                          java.net.URL location)
Constructor

Parameters:
owner - - owner of the acl entry for this nrEntry
name - urn of this entry
location - - location of this entity

AgentServerNREntry

public AgentServerNREntry(ajanta.naming.URN name,
                          java.net.URL location)
Constructor Owner of the acl entry for this nrEntry is the name of the entry

Parameters:
name - urn of this entry
location - - location of this entity

AgentServerNREntry

public AgentServerNREntry(ajanta.naming.URN owner,
                          ajanta.naming.URN name,
                          java.net.URL location,
                          java.net.URL cb,
                          java.net.URL rmi,
                          java.security.PublicKey encrypt,
                          java.security.PublicKey verify)
Constructor

Parameters:
owner - - owner of the acl entry for this nrEntry
name - urn of this entry
location - - location of this entity
cb - - code base url
rmi - - rmi url
encrypt - - public key of encruption key pair
verify - - public key of verification key pair

AgentServerNREntry

public AgentServerNREntry(ajanta.naming.URN name,
                          java.net.URL location,
                          java.net.URL cb,
                          java.net.URL rmi,
                          java.security.PublicKey encrypt,
                          java.security.PublicKey verify)
Constructor

Parameters:
name - urn of this entry
location - - location of this entity
cb - - code base url
rmi - - rmi url
encrypt - - public key of encruption key pair
verify - - public key of verification key pair
Method Detail

getRMIRegURL

public java.net.URL getRMIRegURL()
return the rmi url for this agent server


getCodeBaseURL

public java.net.URL getCodeBaseURL()
returns the code base url for this agent server


setCodeBaseURL

public void setCodeBaseURL(java.net.URL cb)
sets the code base url for this agent server