all groups > dotnet web services enhancements > july 2004 >
You're in the

dotnet web services enhancements

group:

Can I get IE credentials using WSE?


Can I get IE credentials using WSE? Ken Varn
7/19/2004 3:28:37 PM
dotnet web services enhancements: I am fairly new to Web Services and WSE, so bear with me.

I have a Windows Forms control embedded in a web page. I am trying to call
my web service from the form control. If I use
CredentialCache.DefaultCredentials to authenticate, I get the Windows logged
on user credentials instead of the user that authenticated under IE. Is
there anyway that I can get the IE logon credentials using WSE?

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------

Re: Can I get IE credentials using WSE? SA
7/20/2004 8:54:55 AM
You would probably have to use the web service's state management (e.g.
ASP.NET Session variables) to keep track of this.

However, it is not such a good idea to create stateful web services. (There
are several articles that provide architectural guidance. [1]) You should
investigate the use of WS-SecureConversation if you expect your client to
exchange multiple messages with your service.

[1]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/distapp.asp

--

Sven


[quoted text, click to view]

AddThis Social Bookmark Button