SecurityBindingElement::CreateSspiNegotiationBindingElement Method (Boolean)
.NET Framework (current version)
Creates a symmetric security binding element that does SOAP SSPI negotiation based on the Negotiate authentication package.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: static SymmetricSecurityBindingElement^ CreateSspiNegotiationBindingElement( bool requireCancellation )
Parameters
- requireCancellation
-
Type:
System::Boolean
Specifies whether cancellation is required. Setting it to false enables a security context token that is useful in Web farm scenarios, because in this mode the session state is encoded inside the established security context token instead of being kept in the server memory.
Return Value
Type: System.ServiceModel.Channels::SymmetricSecurityBindingElement^A SymmetricSecurityBindingElement object.
If requireCancellation is false, the security context token issued at the end of the SSPI negotiation is cookie based; otherwise, it is session based.
.NET Framework
Available since 3.0
Available since 3.0
Show: