[SERVER-58136] Enhance LDAPConnectionOptions to support more host types Created: 28/Jun/21  Updated: 29/Oct/23  Resolved: 03/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Aldo Aguilar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-59470 clean up libraries in SConscript for ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-07-12, Security 2021-07-26, Security 2021-08-09
Participants:

 Description   

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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'aldo-aguilar', 'email': 'aldo.aguilar@mongodb.com'}

Message: SERVER-58136 Using LDAPHost to enhance LDAPConnectionOptions support
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/095811014a9e47e6fef4dd55bb46571aab69b83d

Generated at Thu Feb 08 05:43:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.