org.dsmltools
Class DSMLLDAPConnection
java.lang.Object
org.dsmltools.DSMLLDAPConnection
- Direct Known Subclasses:
- DSMLLDAPReader, DSMLLDAPWriter
public class DSMLLDAPConnection
- extends java.lang.Object
This class manages the connection to an LDAP server. It is a superclass
of DSMLLDAPReader and DSMLLDAPWriter.
Field Summary |
protected LDAPConnection |
m_conn
The object which controls the LDAP connection |
Method Summary |
void |
connect(java.lang.String xiHostname,
int xiPort,
java.lang.String xiUsername,
java.lang.String xiPassword)
This function connects to an LDAP database |
void |
disconnect()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_conn
protected LDAPConnection m_conn
- The object which controls the LDAP connection
DSMLLDAPConnection
public DSMLLDAPConnection()
connect
public void connect(java.lang.String xiHostname,
int xiPort,
java.lang.String xiUsername,
java.lang.String xiPassword)
- This function connects to an LDAP database
- Parameters:
xiHostname
- The name of the host to connect toxiPort
- The port to connect onxiUsername
- The directory entry DN to use as the usernamexiPassword
- The password to give
disconnect
public void disconnect()