ajanta.naming
Class AgentNREntry

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

public class AgentNREntry
extends NREntry

Agent NR Entry class. Contains Agent specific info

See Also:
Serialized Form

Constructor Summary
AgentNREntry(ajanta.naming.URN name, ajanta.naming.URN server)
          Constructor Owner of the acl entry for this nrEntry is the name of the entry
AgentNREntry(ajanta.naming.URN name, ajanta.naming.URN server, java.security.PublicKey e, java.security.PublicKey v)
          Constructor Owner of the acl entry for this nrEntry is the name of the entry
AgentNREntry(ajanta.naming.URN owner, ajanta.naming.URN name, ajanta.naming.URN server)
          Constructor
AgentNREntry(ajanta.naming.URN owner, ajanta.naming.URN name, ajanta.naming.URN server, java.security.PublicKey e, java.security.PublicKey v)
          Constructor
 
Method Summary
 ajanta.naming.URN getServerURN()
          returns the server urn for this entry
 void setServerURN(ajanta.naming.URN newServer)
          sets the server for this agent entry
 
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

AgentNREntry

public AgentNREntry(ajanta.naming.URN owner,
                    ajanta.naming.URN name,
                    ajanta.naming.URN server)
Constructor

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

AgentNREntry

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

Parameters:
name - urn of this entry
server - location for this agent

AgentNREntry

public AgentNREntry(ajanta.naming.URN owner,
                    ajanta.naming.URN name,
                    ajanta.naming.URN server,
                    java.security.PublicKey e,
                    java.security.PublicKey v)
Constructor

Parameters:
owner - - owner of the acl entry for this nrEntry
name - urn of this entry
server - location for this agent
e - - public key of encruption key pair
v - - public key of verification key pair

AgentNREntry

public AgentNREntry(ajanta.naming.URN name,
                    ajanta.naming.URN server,
                    java.security.PublicKey e,
                    java.security.PublicKey v)
Constructor Owner of the acl entry for this nrEntry is the name of the entry

Parameters:
name - urn of this entry
server - location for this agent
e - - public key of encruption key pair
v - - public key of verification key pair
Method Detail

getServerURN

public ajanta.naming.URN getServerURN()
returns the server urn for this entry


setServerURN

public void setServerURN(ajanta.naming.URN newServer)
sets the server for this agent entry

Parameters:
newServer - - the agent server urn for this agent