[JAVA-673] MongoURI should allow configuring default SSL socket factory Created: 23/Oct/12  Updated: 19/Mar/13  Resolved: 29/Jan/13

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

Type: Improvement Priority: Minor - P4
Reporter: Christian Brensing Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

MongoURI should allow configuring a default SSL socket factory if the option ssl is set to true. This would allow specifying TLS as part of the connection URI.

A possible implementation would look like this:

parseOptions

...
else if ( key.equals( "ssl" ) && _parseBoolean( value )) _options.socketFactory = SSLSocketFactory.getDefault();
...



 Comments   
Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2012-11-14T01:10:22Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-673: Added support for ssl=true|false to connection string
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/10d8a0bf20edaad32a905ea0d27b7b9880f8deec

Comment by Jeffrey Yemin [ 23/Jan/13 ]

This was closed accidentally

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