Passing User and password between two webservices ?

G

glenn h

We have a solution where we access one webservice trough asp.net form.
than the first webservice access the second webservice.
In the first webservice I can get the user-identity but from the second
webservice
i don´t. The authenticated access on the webservice is configured:
"Intergrated Windows authentication"
I´ve tried with CachCredential without success.

How can I solve this. I don´t want to send the user as parameter to the
webservice.

Regards

/glenn
 
R

Ram Sunkara [msft]

Glenn-

If I understand your scenario correctly a winForm application (say machine
A) calls first Web Service (say running on machine B) which intern calls
another Web Service (say running on Machine C). Both the web services are
configured to use "Intergrated Windows authentication".



Impersonating winForms application user in second web service is not
possible unless the machine, on which your first Web Service (machine B) is
running, is marked for delegation.



1. The simplest thing would let the client call both these
web services separately.

2. Pass user name along with other application data to the
second web service (optionally encrypting with a symmetric key, well storing
the key comes into play now)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top