Hi
I am using wsHttpBinding. I have used both kind of secuirty i.e. message and Transport. I wanna know how could i imperosonate the user in Windows message mode. How does this thing work, without Impersonation coz i tried calling my WCF service from remote system, it doesn't ask for credential.Then how does message authentication work without in SSPI mode. I have set Negotiations to true and also tried Message Behavious attribute ImperonationRequired.
Pls reply soon, its urgent
Thanks

How to Impersonate in wsHttpBinding?
fahadmoon
you can consider NetTcpBinding as classic intranet binding.
NetTcpBinding generates a runtime communication stack by default, which uses WS-ReliableMessaging for reliability, Windows Security for message security and authentication, TCP for message delivery, and a binary message encoding.
The security behavior is configurable using the optional securityMode parameter in the constructor. The use of WS-ReliableMessaging is configurable using the optional reliableSessionEnabled parameter.
http://windowssdk.msdn.microsoft.com/library/en-us/cpref19/html/T_System_ServiceModel_NetTcpBinding.asp frame=true
TheDoctor30306
(new to WCF)
so what's the classic Intranet binding
BrunoRdaSilva
You are confusing a few things here. Message and transport security – you cannot use both with WSHttpBinding, you can only have a mixed mode (only MSMQ binding supports a true ‘both’). To impersonate, the credentials provided must map to a user account on the service side. Then you can use any number of techniques to impersonate (service behavior, operation behavior, security context). The negotiation feature deals with negotiating the service certificate.
But what is confusing the most is the need to impersonate (classic Intranet feature) with WSHttpBinding (classis Internet binding). I suspect that there is perhaps a better way to do what you are trying to do.
Hope that helps,
Juval Lowy, IDesign Inc.