views:

42

answers:

1

I've checked other questions, but I can't find a working answer

I have a .Net web application which successfully takes on the callers windows credentials (Thread.CurrentPrincipal is my windows user).

Within that app, I call to a WCF service, but my windows identity isn't passed up. Regardless of what I put in the binding:

NetTcpBinding binding = new NetTcpBinding();
binding.Security.Mode = SecurityMode.Transport;
binding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;
+2  A: 

Did you take a look at this question? Perhaps you can show us the code you are using for creating the Endpoint and channel.

moerketh
Ah ha...turns out you need "impersonate=true" turned on in the calling web app in order for the double hop to work...even though that app is actually running with my windows account as the current principal anyway...oddness!
Paul