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();
|
...
|