users@jax-rpc.java.net

Re: Auth user

From: Sam <bytecode_at_phreaker.net>
Date: Wed, 21 Sep 2005 11:02:34 -0400

Get the servletContext by implementing ServiceLifecyle.
 From there look at getUserPrincipal()

You still cant get the password from what I know.

HTH
/s


Mariano Garcia wrote:
> Hi all,
>
> Imagine a web service that is deployed into a web server that requires
> HTTP BASIC AUTH. The client side has to set some stub attributes in
> order to authenticate:
>
> * javax.xml.rpc.Stub.USERNAME_PROPERTY
> * javax.xml.rpc.Stub.PASSWORD_PROPERTY
>
> Do you know if there is any way to get that user and password from
> server side?
>
> Regards,
>