public class ActiveDirectoryLdapDnsProvider
extends com.sun.jndi.ldap.spi.LdapDnsProvider
LdapDnsProvider for the Active Directory. This implementation hooks into Sun's/Oracle's
LDAP implementation with JNDI to autodiscover Active Directory servers for LDAP via DNS.
net.sf.michaelo.activedirectory.site: The Active Directory site your client resides.dns.*: Passthrough properties to the underlying JNDI DNS Provider. (prefix will be stripped)| Modifier and Type | Field and Description |
|---|---|
static String |
SITE_PROPERTY |
| Constructor and Description |
|---|
ActiveDirectoryLdapDnsProvider() |
| Modifier and Type | Method and Description |
|---|---|
Optional<com.sun.jndi.ldap.spi.LdapDnsProviderResult> |
lookupEndpoints(String url,
Map<?,?> env) |
public static final String SITE_PROPERTY
public Optional<com.sun.jndi.ldap.spi.LdapDnsProviderResult> lookupEndpoints(String url, Map<?,?> env) throws NamingException
lookupEndpoints in class com.sun.jndi.ldap.spi.LdapDnsProviderNamingExceptionCopyright © 2016–2025 Michael Osipov. All rights reserved.