-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Many applications can use custom ssl socket factory for the communication so it is possible to create the socket with JSS and make the communication secure. However, many applications instantiate the factory from the class name and require a constructor with no parameters or a properties parameters.
As an example, from PostgreSQL driver documentation, it is possible to use a custom ssl socket factory but it is managed by the driver.
Therefore, using the current JSS code, it is needed to create a wrapper around the org.mozilla.jss.ssl.javax.JSSSocketFactory
and use that for the appliocation.
An improvement would be to create a new ssl socket factory, or exetend the current one, so it can be loaded and managed automatically by third party applications.