Setting multiple truststore on the same JVM
问题 I have an Java application running on a weblogic server. The application has two distinct modules which use SSL to connect to external web services - let's say module A and module B. Module A - Built on Axis - Uses truststore A Moudle B - Built on Spring-ws - Uses truststore B. Module A is existing. Module B is being introduced. I need to be able to set the truststore dynamically in the JVM based on which module is being invoked. Due to some constraints I do not have the option - to create a