Package Summary  Overview Summary

class:LdapDnsProvider [NONE]


public abstract class LdapDnsProvider
extends Object
Service-provider class for DNS lookups when performing LDAP operations.

An LDAP DNS provider is a concrete subclass of this class that has a zero-argument constructor. LDAP DNS providers are located using the ServiceLoader facility, as specified by InitialDirectContext. The ServiceLoader is used to create and register implementations of LdapDnsProvider.

An LDAP DNS provider can be used in environments where the default DNS resolution mechanism is not sufficient to accurately pinpoint the correct LDAP servers needed to perform LDAP operations. For example, in an environment containing a mix of ldap and ldaps servers you may want the LdapContext to query ldaps servers only.

Since:
12

constructor:LdapDnsProvider() [NONE]

  • LdapDnsProvider

    protected LdapDnsProvider()
    Creates a new instance of LdapDnsProvider.
    Throws:
    SecurityException - if a security manager is present and its checkPermission method doesn't allow the RuntimePermission("ldapDnsProvider").

method:lookupEndpoints(java.lang.String,java.util.Map) [NONE]

© 2020 Oracle Corporation and/or its affiliates