Hello,
Sharib Anis wrote:
> Does anyone know how to set up HTTP-Basic authentication over SSL for
> JAX-RPC? I saw some documentation in JWSDP 1.0 tutorial, but the later
> JWSDP tutorials don't have this. It's either HTTP-Basic *or* SSL...
Well, you got to establish an HTTPS connection and then you send the
required credentials. On the server side you have to set up the Tomcat
HTTPS connector with a certificate and the corresponding pair of
public/private keys. Then you specify in the deployment descriptor that
authentication is required and you are done...
To specify the username and password you need to use stub._setProperty()
and to specify the two key stores you use System.setProperty(). Both key
stores have to exist, need to be specified and do not have to be the
same file...
regards...Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net