Re: Passing User and password between two webservices ?

From: Ram Sunkara [msft] (ramsun_at_online.microsoft.com)
Date: 10/21/03


Date: Mon, 20 Oct 2003 21:05:34 -0700

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)

"glenn h" <glenn.hafstrom@invalid> wrote in message
news:eBgPS5wlDHA.2404@TK2MSFTNGP12.phx.gbl...
> 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
>
>



Relevant Pages

  • Re: DateTime WebService Discrepancy.
    ... When the datetime is sent by the webservice, ... > Ofcourse I had not even though of just passing a string as a parameter ... > locally and cut out the call to the web service. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Possible to consume a web service with VB.NET 1.1 VS 2003?
    ... webservice is aiming at interop between heterogenious platforms. ... Microsoft MSDN Online Support Lead ... Possible to consume a web service with VB.NET 1.1 VS 2003? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: upload 50M file to web service got 500 internal server error
    ... How would you recommend getting a 100 meg data file to a webservice ... > Try looking at the response in the trace. ... > back if you install a trace web service extension (avaliable from ... > Right now maxRequestLength property of Web App and Webservcie are all set to ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: How do I create an object?
    ... The webservice exposes a WSDL document for that vary purpose. ... >I have the almost the same question, but it's regarding a web service ... It has a method such as SetInfo(int age, string firstName, ...
    (microsoft.public.dotnet.framework)
  • Re: Trying to pass NetworkCredential to WebService
    ... authentication. ... ASP.NET's webservice calling code, we need to attach a NetworkCredential to ... application pool different from the ASP.NET ... So this still is a problem because my web service needs to run ...
    (microsoft.public.dotnet.framework.aspnet.webservices)