axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <pzf...@gmail.com>
Subject Re: How to configure Axis2 so commons-http client uses custom SSL socket factory like the contributed AuthSSLProtocolSocketFactory?
Date Mon, 06 Aug 2007 19:35:01 GMT
Norris

If you set the property:
        HttpClient httpClient = // configure your HTTP client

Options.setProperty(HTTPConstants.CACHED_HTTP_CLIENT,httpClient);

Then Axis2 will use your HTTP client instead of creating one for you.

Paul

On 8/6/07, Merritt, Norris <norris.merritt@hp.com> wrote:
>
>
>
>
> Hi, I need to make Axis2 use a custom SSL socket factory so I can do SSL
> client authentication. Commons-http supports the notion of custom SSL socket
> factories, and there is a contributed one called
> AuthSSLProtocolSocketFactory which looks like it does what I want. My
> question is how to configure Axis2 to use this SSL socket factory instead of
> the default one that it uses now.  I assume this can be done without
> modifying Axis2 source code? Any pointers / help greatly appreciated….


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message