[JAVA-3066] Implement Unified URI Options Created: 05/Nov/18  Updated: 28/Oct/23  Resolved: 14/Aug/20

Status: Closed
Project: Java Driver
Component/s: Configuration
Affects Version/s: None
Fix Version/s: 3.10.0

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-557 Implement Unified URI Options Closed
Epic Link: JVM Unified URI Options Support
Case:
Backwards Compatibility: Fully Compatible

 Description   

See DRIVERS-557 for details.

New options required in the Java driver:

  • tls
  • tlsAllowInvalidHostnames
  • tlsInsecure (document as synonymous with tlsAllowInvalidHostnames, as that's the only thing we can turn off in the driver itself)

Options the driver can't implement (Because TLS is configured in Java via system properties. Applications that want this behavior have to configure either those system properties or provide a custom SslContext to the driver via settings):

  • tlsAllowInvalidCertificates
  • tlsCAFile
  • tlsCertificateKeyFile
  • tlsCertificateKeyFilePassword

Options where the driver's default is different that the specification's default: None



 Comments   
Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Use LinkedHashSet to ensure iteration order of options

JAVA-3066
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/d91cdce277b4643511040173b6e159eb28c8c073

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Use LinkedHashSet to ensure iteration order of options

JAVA-3066
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d255a4c9d22fb9fc6e6f055e078e9bc36f8f5f43

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Pass all non-warning-related URI options specification tests

JAVA-3066
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/8984bab9fe7bdeababdba262e28e3beaceb8486c

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Add ConnectionStringTest subclass of AbstractConnectionStringTest

JAVA-3066
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/c45d0af135df09b46a9ff6bc62cbdcebc2ca205c

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Rename ConnectionStringTest to AbstractConnectionStringTest

JAVA-3066
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/83e16067f7c26fa8015162c287e201fa9ce81b7b

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Add support for new TLS-related connection string options

  • tls=true|false
  • tlsInsecure=true|false
  • tlsAllowInvalidHostnames=true|false

JAVA-3066
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/9554b67f45539795f9e246d7360d90c93a9818d7

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Pass all non-warning-related URI options specification tests

JAVA-3066
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e0bb57ce1476cd727dac7fc8ec560d330906e6a6

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Add ConnectionStringTest subclass of AbstractConnectionStringTest

JAVA-3066
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/eaebacd8a62e3072398aa0ab05bfd150296b8bf0

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Rename ConnectionStringTest to AbstractConnectionStringTest

JAVA-3066
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/db002aa5c3cd28e583e6ae3e49f5eecb63db5f51

Comment by Githook User [ 15/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Add support for new TLS-related connection string options

  • tls=true|false
  • tlsInsecure=true|false
  • tlsAllowInvalidHostnames=true|false

JAVA-3066
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c5a342fbcf6038f179dd9c893a91f7906d36f004

Generated at Thu Feb 08 08:58:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.