public class DirContextSource extends AbstractContextSource
AbstractContextSource.AbstractContextSourcepassword, SUN_LDAP_POOLING_FLAG, userDn| Constructor and Description |
|---|
DirContextSource() |
| Modifier and Type | Method and Description |
|---|---|
protected DirContext |
getDirContextInstance(Hashtable environment)
Create a new InitialDirContext instance.
|
afterPropertiesSet, assembleProviderUrlString, createContext, getAnonymousEnv, getAuthenticatedEnv, getAuthenticationSource, getBaseLdapName, getBaseLdapPath, getBaseLdapPathAsString, getContext, getContextFactory, getDirObjectFactory, getPassword, getReadOnlyContext, getReadWriteContext, getUrls, getUserDn, isAnonymousReadOnly, isPooled, setAnonymousReadOnly, setAuthenticationSource, setAuthenticationStrategy, setBase, setBaseEnvironmentProperties, setCacheEnvironmentProperties, setContextFactory, setDirObjectFactory, setPassword, setPooled, setReferral, setupAuthenticatedEnvironment, setUrl, setUrls, setUserDnprotected DirContext getDirContextInstance(Hashtable environment) throws NamingException
getDirContextInstance in class AbstractContextSourceenvironment - the environment to use when creating the context.NamingException - if one is encountered when creating the instance.