Windows authentication for web service client??
- From: "Kevin Yu" <koo9@xxxxxxxxxxx>
- Date: Wed, 13 Apr 2005 15:21:44 -0600
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?
.
- Follow-Ups:
- Re: Windows authentication for web service client??
- From: Brock Allen
- Re: Windows authentication for web service client??
- Prev by Date: HELP!! WEBSERVICE + DATASET
- Next by Date: Re: Windows authentication for web service client??
- Previous by thread: HELP!! WEBSERVICE + DATASET
- Next by thread: Re: Windows authentication for web service client??
- Index(es):
Relevant Pages
|