Windows authentication for web service client??



hi all

got a question here, a web service secure mode is set to "windows", on the
client side

when supplying the credentials, it's like this:

somewebservice.Authentication ssoAuth = new somewebservice.Authentication();

ssoAuth.PreAuthenticate = true;

ssoAuth.Credentials = System.Net.CredentialCache.DefaultCredentials;

from the info here

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemNetCredentialCacheClassDefaultCredentialsTopic.asp

the defaultcredential should supply the current security context that the
client is running, but in my case the client is another web service running

on another server, now by default the account that the client(the calling
web service) is running under ASPNET account,

so on the host(somewebservice), I should add the clientdomain\ASPNET account
into the windows account?






.



Relevant Pages

  • Windows Client using Generated WS Proxy
    ... How many people are using a windows client to talk to their web service? ... I have an application that has a windows client talking to a set of services ... if I expose a web method that takes a Customer or Account the client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • windows integrated authentication for web service??
    ... when supplying the credentials, it's like this: ... client is running, BUT in my case the client is another web service running ... now by default the account that the client(the calling ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: windows integrated authentication for web service??
    ... "Kevin Yu" wrote: ... > client is running, BUT in my case the client is another web service running ... now by default the account that the client(the calling ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Windows authentication for web service client??
    ... but the problem with impersonation in the code is after LogonUserwin32 ... use code call the web service with a different username/password. ... >> The ASPNET account is a local account, so the other machine or domain ... >> use those credentials from the client. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: configuring client users
    ... This newsgroup only focuses on SBS technical issues. ... | Thread-Topic: configuring client users ... |> computer to SBS server while we need use "set up computer wizard" to ... |> For user account issue, please understand that if you join the client ...
    (microsoft.public.windows.server.sbs)