Passing windows credentials through web application, to WCF

Posted by IP on Stack Overflow See other posts from Stack Overflow or by IP
Published on 2010-05-28T07:36:06Z Indexed on 2010/05/28 7:41 UTC
Read the original article Hit count: 189

Filed under:
|
|

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;

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about wcf