WCF impersonation
-
Hi All, I am trying to impersonate a .svc in VS 2008 which I invoke via another web application In the web.config of the .svc I have added the following <system.web> <identity impersonate="true" userName=username" password="password"/> lt;authentication mode="Windows" /> </system.web>& The above works fine under .aspx web services,however doesn't work under .svc and always returns me an anonymous user. Can you please help Thanks
-
Hi All, I am trying to impersonate a .svc in VS 2008 which I invoke via another web application In the web.config of the .svc I have added the following <system.web> <identity impersonate="true" userName=username" password="password"/> lt;authentication mode="Windows" /> </system.web>& The above works fine under .aspx web services,however doesn't work under .svc and always returns me an anonymous user. Can you please help Thanks
WCF does not use this setting. You need to configure the binding for the WCF service as necessary http://blogs.msdn.com/wenlong/archive/2006/05/18/wcf-impersonation-for-hosted-services.aspx[^]
I know the language. I've read a book. - _Madmatt
-
WCF does not use this setting. You need to configure the binding for the WCF service as necessary http://blogs.msdn.com/wenlong/archive/2006/05/18/wcf-impersonation-for-hosted-services.aspx[^]
I know the language. I've read a book. - _Madmatt
-
Tanks for that however I need to pass specific user name and password through and not the windows current user. Is there anyway of specifying that in .svc?
-
What I need is the equivalent of the line below in WCF <identity impersonate="true" userName="username" password="password"/> Thanks
Something like this, How to: Impersonate a Client on a Service[^]
I know the language. I've read a book. - _Madmatt