The connection to MongoDB is performed using the Mongo java driver (2.x) API, namely the ServerAddress class. From a ModeShape configuration perspective you pass the hostname / port and/or replica set. I don't know what "SSL support" means in terms of the Mongo Java Driver API. If it's an easy enhancement, please feel free to open a PR.
As far as implementing a custom binary store, ideally you should extend AbstractBinaryStore and implement your logic similar to other existing binary stores.
ModeShape 5 uses Java 8, so the JDK version would not be an issue. Also, changing the driver version from 2.x to 3.x might not be that complicated and might be a simpler alternative to a new binary store.
Either way, we welcome any contributions in this area
Oops, my bad again, I was reading the development workflow and it mentioned Modeshape is being built on Java 6. Haven't noticed it was outdated.
Back on topic. Yes, its just a matter of changing the version for the Mongo Java Driver, changing the deprecated methods, and adding additional properties for the mongo binary store. I already have an implementation on my local repo. Will it be okay if I log an enhancement and issue a PR?
sure, as long as there are no backward compatibility issues. By that I mean that
a) the data written using the old driver can still be read back using the new driver
b) there are no repository configuration changes
There will be a new optional flag in the MongoDB BinaryStore section for enabling/disabling SSL. Will that be okay?