users@jax-ws.java.net

Re: Specifiying keystore on a per-Service basis

From: Ryan Hofschneider <ryan.hofschneider.ctr_at_metnet.navy.mil>
Date: Mon, 19 Jun 2006 17:43:59 -0700

On Jun 19, 2006, at 4:38 PM, Jitendra Kotamraju wrote:
> At present, you have you have to mange your HTTPS connections. you
> can set a factory using
> HttpsURLConnection.setDefaultSSLSocketFactory(), and your factory
> could be written such a way that it affects only certain connections.

Right, except in the web application container case it would require
some orchestration between normally unrelated web applications.

> Someother users are also asked about this. One solution is to take
> SSLFactory, HostnameVerifier objects as properties(much like the
> USERNAME_PROPERTY) in RequestContext, and set them on
> HttpsURLConnection for each request. we will add this feature on
> rearch branch.

Thanks!

Ryan