[JAVA-869] Add SSLEnabled to MongoClientOptions.Builder and deprecate socketFactory Created: 10/Jul/13  Updated: 26/Feb/15  Resolved: 16/Aug/13

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

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: 2to3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by JAVA-870 Remove MongoClientOptions.Builder.soc... Closed

 Description   

For 3.0, we want the flexibility to use SocketChannel or even AsynchronousSocketChannel instead of Socket. To that end, we should be declarative regarding the specification of the need to use SSL.

To that end, we should replace the current way of indirectly specifying SSL via MongoClientOptions.Builder.socketFactory, and instead prefer MongoClientOptions.Builder.SSLEnabled.



 Comments   
Comment by Githook User [ 26/Feb/15 ]

Author:

{u'username': u'gianpaj', u'name': u'Gianfranco Palumbo', u'email': u'gianpaj@users.noreply.github.com'}

Message: Fix typo in MongoCredential and correct how to specify SSL in Java Driver < 3.0

https://jira.mongodb.org/browse/JAVA-869

Moved 3.0 syntax to it's own tutorial #248
Branch: master
https://github.com/mongodb/docs-ecosystem/commit/1413dc46bc57403aeeac2ccfc89662fff89c188f

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