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: WinForms and WebServices
    ... The OP wants to create a WebService and a WebForms application to ... who will install the WebService on their Web servers. ... When that is installed your program can reference to that. ... So you say that I can change the web service URL in the config file at run ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WinForms and WebServices
    ... The OP wants to create a WebService and a WebForms application to ... who will install the WebService on their Web servers. ... When that is installed your program can reference to that. ... So you say that I can change the web service URL in the config file at run ...
    (microsoft.public.dotnet.languages.vb)
  • 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: 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)