On 12.04.2010, at 18:20, Marcel Stör wrote:

> Java allows to use a custom VM-wide SSLSocketFactory implementation like so:
> 
> javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(SSLSocketFactory)
> 
> I noticed, however, that CXF does not honor this "setting" and overrides the 
> SSLSocketFactory to be used in 
> org.apache.cxf.transport.https.HttpsURLConnectionFactory.decorateWithTLS(HttpURLConnection).
> 
> Question: how can I use my (customer's) own configuration of a 
> SSLSocketFactory with CXF?



Not quite sure if it's relevant for the problem stated above...We're creating 
the CXF proxy factory beans in Spring like this:

 <bean id="taxV11" factory-bean="taxV11Factory" factory-method="create" />
 
  <!-- Tax -->
  <!-- version 1.1 -->
  <bean id="taxV11Factory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
    <property name="serviceClass" value="my-service-class" />
    <property name="address" value="${kernel.endpointUri}/tax/1" />
  </bean>

This means that there's no Java code that directly interoperates with CXF in 
our application.

Regards,
Marcel

-- 
Marcel Stör, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
Skype: marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Reply via email to