|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.ldap.ContextSourceLdapServerImpl
ILdapServer deprecation comment
public class ContextSourceLdapServerImpl
An ILdapServer impl that wraps a Spring-LDAP ContextSource for getting contections to provide legacy ILdapServer support.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
Deprecated. |
| Constructor Summary | |
|---|---|
ContextSourceLdapServerImpl()
Deprecated. |
|
| Method Summary | |
|---|---|
String |
getBaseDN()
Deprecated. Gets the base DN used to search the LDAP directory context. |
DirContext |
getConnection()
Deprecated. Gets an LDAP directory context. |
ContextSource |
getContextSource()
Deprecated. |
String |
getUidAttribute()
Deprecated. Gets the uid attribute used to search the LDAP directory context. |
void |
releaseConnection(DirContext conn)
Deprecated. Releases an LDAP directory context. |
void |
setBaseDN(String baseDN)
Deprecated. |
void |
setContextSource(ContextSource ldapContextSource)
Deprecated. |
void |
setUidAttribute(String uidAttribute)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public ContextSourceLdapServerImpl()
| Method Detail |
|---|
public ContextSource getContextSource()
public void setContextSource(ContextSource ldapContextSource)
ldapContextSource - the ldapContextSource to setpublic void setUidAttribute(String uidAttribute)
uidAttribute - the uidAttribute to setpublic String getBaseDN()
ILdapServer
getBaseDN in interface ILdapServerILdapServer.getBaseDN()public void setBaseDN(String baseDN)
org.jasig.portal.ldap.ILdapServer#setBaseDN()
public DirContext getConnection()
throws NamingException
ILdapServer
getConnection in interface ILdapServerNamingException - If there is a problem connecting to the ldap server.ILdapServer.getConnection()public String getUidAttribute()
ILdapServer
getUidAttribute in interface ILdapServerILdapServer.getUidAttribute()public void releaseConnection(DirContext conn)
ILdapServer
releaseConnection in interface ILdapServerconn - an LDAP directory context objectILdapServer.releaseConnection(javax.naming.directory.DirContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||