javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

RFE: Public API to set the SSLSocketFactory used by JAXWS #1221

Open LanceAndersen opened 6 years ago

LanceAndersen commented 6 years ago

Previously tracked via: https://bugs.openjdk.java.net/browse/JDK-8002386

Operating System Configuration Information (be specific):All Hardware Configuration Information (be specific): All

RFE Description: RFE: Public API to set the SSLSocketFactory used by JAXWS

Currently in order to set the SSLSocketFactory used by JAXWS, we need to use the JAXWSProperties.SSL_SOCKET_FACTORY property as specified in JAXWSProperties.

This is an internal sun package, and varies between distributions. We need a public API so that we can make sure that the SSLSocketFactory is always set correctly.

Note also that HttpsURLConnection. setDefaultSSLSocketFactory is not an option as we have more than one SSLSocketFactory.