nu.zoom.ldap.eon.connection.password
Class AnonymousConnection
java.lang.Object
nu.zoom.ldap.eon.connection.password.AnonymousConnection
- All Implemented Interfaces:
- Serializable, Connection, ConnectionInformation
- Direct Known Subclasses:
- UserConnection
public class AnonymousConnection
- extends Object
- implements Connection, Serializable
- Version:
- $Revision: 1.5 $
- Author:
- $Author: johan $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonymousConnection
public AnonymousConnection()
getGUID
public ConnectionGUID getGUID()
- Description copied from interface:
ConnectionInformation
- The unique ID for this connection. The ID is used by EON to refer to
different connections.
- Specified by:
getGUID in interface ConnectionInformation
- Returns:
- The id
getConnection
public InitialLdapContext getConnection()
throws BackendException
- Specified by:
getConnection in interface Connection
- Throws:
BackendException
setupEnvironment
protected void setupEnvironment(Hashtable env)
getHost
public String getHost()
getPort
public int getPort()
setHost
public void setHost(String host)
setGUID
public void setGUID(ConnectionGUID id)
setPort
public void setPort(int port)
getDescription
public String getDescription()
- Description copied from interface:
ConnectionInformation
- Get a description of the connection. This is used to let the user know
which connection this is. It should preferrably contain information that
lets the user know which host and by which identity the connection is
made.
- Specified by:
getDescription in interface ConnectionInformation
- Returns:
- A human readable description of the connection instance.
setDescription
public void setDescription(String description)
getRootContext
public String getRootContext()
setRootContext
public void setRootContext(String rootContext)
Copyright © 2011. All Rights Reserved.