|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.support.AbstractContextSource
org.springframework.ldap.support.LdapContextSource
public class LdapContextSource
ContextSource implementation which creates an InitialLdapContext
instance. For configuration information, see
AbstractContextSource.
AbstractContextSource| Field Summary |
|---|
| Fields inherited from class org.springframework.ldap.support.AbstractContextSource |
|---|
password, SUN_LDAP_POOLING_FLAG, userName |
| Constructor Summary | |
|---|---|
LdapContextSource()
|
|
| Method Summary | |
|---|---|
protected java.util.Hashtable |
getAnonymousEnv()
|
protected javax.naming.directory.DirContext |
getDirContextInstance(java.util.Hashtable environment)
Implement in subclass to create a DirContext of the desired type (e.g. |
void |
setResponseControlFactory(java.lang.Class responseControlFactory)
Set the ResponseControlFactory to use. |
| Methods inherited from class org.springframework.ldap.support.AbstractContextSource |
|---|
afterPropertiesSet, assembleProviderUrlString, getAuthenticatedEnv, getExceptionTranslator, getReadOnlyContext, getReadWriteContext, getUrls, setAnonymousReadOnly, setAuthenticationSource, setBase, setBaseEnvironmentProperties, setCacheEnvironmentProperties, setContextFactory, setDirObjectFactory, setExceptionTranslator, setPassword, setPooled, setupAuthenticatedEnvironment, setUrl, setUrls, setUserName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapContextSource()
| Method Detail |
|---|
protected java.util.Hashtable getAnonymousEnv()
getAnonymousEnv in class AbstractContextSource
protected javax.naming.directory.DirContext getDirContextInstance(java.util.Hashtable environment)
throws javax.naming.NamingException
AbstractContextSource
getDirContextInstance in class AbstractContextSourceenvironment - the environment to use when creating the instance.
javax.naming.NamingException - if one is encountered when creating the instance.public void setResponseControlFactory(java.lang.Class responseControlFactory)
ResponseControlFactory. The specified
class needs to be an implementation of
ControlFactory.
responseControlFactory - the ResponseControlFactory to be used. Null means reset to the
default.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||