Class SRVDNSResolver

    • Field Detail

      • ATTRIBUTES

        private static final String[] ATTRIBUTES
        Attributes (DNS record types) to query for.
      • useSSL

        private final boolean useSSL
        Connect to LDAP using LDAPS.
    • Constructor Detail

      • SRVDNSResolver

        public SRVDNSResolver()
        Default constructor.
      • SRVDNSResolver

        public SRVDNSResolver​(DNSContextFactory factory)
        Creates a new DNS address resolver.
        Parameters:
        factory - JNDI dir context factory
      • SRVDNSResolver

        public SRVDNSResolver​(DNSContextFactory factory,
                              boolean ssl)
        Creates a new DNS address resolver.
        Parameters:
        factory - JNDI dir context factory
        ssl - whether SRV records should produce LDAPS URLs