How to use secure conversations in WCF

J.D. Meier, Jason Taylor, Prashant Bansode, Carlos Farre, Madhu Sundararajan, Steve Gregersen.

Secure conversations are turned on by default for all bindings that support ws-security. This includes WsHttpBinding, NetTcpBinding, netMsmqBinding. If you are using a custom binding, turn on secure conversations with the authenticationMode attribute.
<customBinding> 
  <binding name="ServiceBinding"> 
    <security *authenticationMode*="*SecureConversation*" 
         requireSecurityContextCancellation ="false"> 
       <secureConversationBootstrap authenticationMode="MutualCertificate"> 
       </secureConversationBootstrap> 
    </security> 
    <httpTransport/> 
  </binding> 
 </customBinding>

Last edited May 8, 2008 at 7:53 AM by prashantbansode, version 1

Comments

No comments yet.