On Thursday 21 October 2010 4:31:49 am Weihua JIANG wrote:
> Hi all,
> 
> I want to use Not-Yet-Commons-SSL to handle SSL certificates. So, I
> prefer to use its SSLServerSocketFactory implementation for CXF
> endpoint publish. However, I can't find any document or sample on how
> to write code.
> 
> Can anyone help me on this?

It should be something like:

Client client = ClientProxy.getClient(proxy);
HTTPConduit hc = (HTTPConduit)client.getConduit();
HTTPClientPolicy cp = hc.getClient();
cp.getTlsClientParameters().setSSLSocketFactory(factory);

Hope that helps!
Dan


> 
> 
> Thanks
> Weihua

-- 
Daniel Kulp
dk...@apache.org
http://dankulp.com/blog

Reply via email to