org.jasig.portal.ldap
Interface ILdapServer

All Known Implementing Classes:
ContextSourceLdapServerImpl

Deprecated. Framework code should access LdapContextSource objects in the spring context via injection instead of using these APIs.

public interface ILdapServer

The ILdapServer interface defines a set of methods to be used to create a connection to an LDAP server, release the connection and get information about the connection.

Version:
$Revision: 19776 $
Author:
Eric Dalquist edalquist@unicon.net

Method Summary
 String getBaseDN()
          Deprecated. Gets the base DN used to search the LDAP directory context.
 DirContext getConnection()
          Deprecated. Gets an LDAP directory context.
 String getUidAttribute()
          Deprecated. Gets the uid attribute used to search the LDAP directory context.
 void releaseConnection(DirContext conn)
          Deprecated. Releases an LDAP directory context.
 

Method Detail

getConnection

DirContext getConnection()
                         throws NamingException
Deprecated. 
Gets an LDAP directory context.

Returns:
an LDAP directory context object.
Throws:
NamingException - If there is a problem connecting to the ldap server.

getBaseDN

String getBaseDN()
Deprecated. 
Gets the base DN used to search the LDAP directory context.

Returns:
a DN to use as reference point or context for queries

getUidAttribute

String getUidAttribute()
Deprecated. 
Gets the uid attribute used to search the LDAP directory context.

Returns:
a DN to use as reference point or context for queries

releaseConnection

void releaseConnection(DirContext conn)
Deprecated. 
Releases an LDAP directory context.

Parameters:
conn - an LDAP directory context object


Copyright © 2010 Jasig. All Rights Reserved.