The HttpsUrlConnectionMessageSender allow you to set the keyManagers and trustManagers. It would be cool, if Spring Webservice provides s.th. like a KeyManagerFactoryBean and a TrustManagerFactoryBean, so that you can easily secured a webservice connection.
These beans should hide the glue code for creating these managers.
// s.th. like this (only one and no error handling and all that)
public TrustManager[] getTrustManagers() {
TrustManagerFactory factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
factory.init(keyStore);
return factory.getTrustManagers();
}
Leif Hanack opened SWS-731 and commented
The HttpsUrlConnectionMessageSender allow you to set the keyManagers and trustManagers. It would be cool, if Spring Webservice provides s.th. like a KeyManagerFactoryBean and a TrustManagerFactoryBean, so that you can easily secured a webservice connection.
These beans should hide the glue code for creating these managers.
A config file might look like this:
Affects: 2.0.2
Referenced from: commits 9f4e293
The text was updated successfully, but these errors were encountered: