public class LdapContextSource extends AbstractContextSource
InitialLdapContext
instance. For configuration information, see
AbstractContextSource
.AbstractContextSource
password, SUN_LDAP_POOLING_FLAG, userDn
Constructor and Description |
---|
LdapContextSource() |
Modifier and Type | Method and Description |
---|---|
protected DirContext |
getDirContextInstance(Hashtable environment)
Implement in subclass to create a DirContext of the desired type (e.g.
|
afterPropertiesSet, assembleProviderUrlString, createContext, getAnonymousEnv, getAuthenticatedEnv, getAuthenticationSource, getBase, getBaseLdapPath, getBaseLdapPathAsString, getContext, getContextFactory, getDirObjectFactory, getReadOnlyContext, getReadWriteContext, getUrls, isAnonymousReadOnly, isPooled, setAnonymousReadOnly, setAuthenticationSource, setAuthenticationStrategy, setBase, setBaseEnvironmentProperties, setCacheEnvironmentProperties, setContextFactory, setDirObjectFactory, setPassword, setPooled, setReferral, setupAuthenticatedEnvironment, setUrl, setUrls, setUserDn
protected DirContext getDirContextInstance(Hashtable environment) throws NamingException
AbstractContextSource
getDirContextInstance
in class AbstractContextSource
environment
- the environment to use when creating the instance.NamingException
- if one is encountered when creating the instance.Copyright © 2005-2012 The Spring LDAP Framework. All Rights Reserved.