You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andre Charbonneau <an...@nrc-cnrc.gc.ca> on 2003/11/06 17:40:43 UTC

Need help with authentication

Greetings,
Here is the scenario:

The user accesses a web page that is generated by a servlet.  This is 
protected using form-based authentication.
Then while generating this web page, this servlet needs to make a web 
service call (to get some data out of a database...).  The web service 
is also protected, but using basic-auth.

The problem is that I cannot find a way of 'forwarding' the user's 
credentials to the web service.  I can get the username, but the 
password is innacessible, and I need to pass it to the Stub in order to 
authenticate the user in the web service.

I've read in mailing lists that setting the cookie in the Call object 
before invoking the web service would fix this problem, but I tried it 
and it does not seem to make any difference.

Did anyone was faced with this kind of problem before?
Is there a workaround to this problem?

Thanks.
-- 
Andre Charbonneau

Research Computing Support, IMSB
National Research Council Canada


Web Services Documentation Format...

Posted by Su...@i2.com.



Hi Guys,

      Is there any standard way to document a Web Services? What I mean is
java has javadoc which generates a very good documentation interface. Is
there any such equivalents in the Web Services world?

Thanks,

<!-- Sumit -->
<<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>>
Ring the bells that still can ring.
Forget your perfect offering.
There's a crack, a crack in everything.
That's how the light gets in.
                              -- Leonard Cohen
<<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>>