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
