nu.zoom.ldap.eon.connection.password
Class UserConnection
java.lang.Object
nu.zoom.ldap.eon.connection.password.AnonymousConnection
nu.zoom.ldap.eon.connection.password.UserConnection
- All Implemented Interfaces:
- Serializable, Connection, ConnectionInformation
- Direct Known Subclasses:
- UserPasswordConnection
public class UserConnection
- extends AnonymousConnection
- Version:
- $Revision: 1.4 $
- Author:
- $Author: johan $
- See Also:
- Serialized Form
| Methods inherited from class nu.zoom.ldap.eon.connection.password.AnonymousConnection |
getDescription, getGUID, getHost, getPort, getRootContext, setDescription, setGUID, setHost, setPort, setRootContext, setupEnvironment |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserConnection
public UserConnection()
getConnection
public InitialLdapContext getConnection()
throws BackendException
- Specified by:
getConnection in interface Connection- Overrides:
getConnection in class AnonymousConnection
- Throws:
BackendException
setupEnvironment
protected void setupEnvironment(Hashtable env,
String username,
char[] password)
setMessages
public void setMessages(org.ops4j.gaderian.Messages messages)
- Parameters:
messages - The messages to set.
setWorkbench
public void setWorkbench(Workbench workbench)
- Parameters:
workbench - The workbench to set.
getUsername
public String getUsername()
- Returns:
- Returns the username.
setUsername
public void setUsername(String username)
- Parameters:
username - The username to set.
Copyright © 2011. All Rights Reserved.