Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58136

Enhance LDAPConnectionOptions to support more host types

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2021-07-12, Security 2021-07-26, Security 2021-08-09

      Currently, LDAPConnectionOptions stores a vector of strings for the list of hosts where the string is a "host[:port]" combination. 

      A new class should be create named LDAPHost. LDAPHost should have a method parse(StringData host, bool isSSL) to parse a host[:port] combination. It should have methods for serializing to HostAndPort and to URI.

      LDAPConnectionOptions:parseHostURIs should return a vector of LDAPHost now.

            Assignee:
            aldo.aguilar@mongodb.com Aldo Aguilar
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: