The wrong Principal is passed to my remoted object
This article:http://blogs.msdn.com/manishg/archive/2005/04/22/410879.aspx#436192
helped me a lot when trying to impersonate my user to my remote object. But... when I try to access my remoted server object from a web application, the wrong principal is passed.
I've got a web forms application authenticating against ADAM, so when i'm logged in to the web site theHttpContext.Current.User.Identity =the ADAM user I'm logged into the website with. When I start a method on the remoted object, theThread.CurrentPrincipal.Identity =the AD User I'm logged in to Windows with.... Of course I want to identify as the same user on both places.
Any suggestions?
Bart

