ערוך

שתף באמצעות


SecurityBindingElement.CreateSspiNegotiationBindingElement Method

Definition

Creates a symmetric security binding element that does SOAP SSPI negotiation based on the Negotiate authentication package.

Overloads

CreateSspiNegotiationBindingElement()

Creates a symmetric security binding element that does SOAP SSPI negotiation based on the Negotiate authentication package.

CreateSspiNegotiationBindingElement(Boolean)

Creates a symmetric security binding element that does SOAP SSPI negotiation based on the Negotiate authentication package.

CreateSspiNegotiationBindingElement()

Creates a symmetric security binding element that does SOAP SSPI negotiation based on the Negotiate authentication package.

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateSspiNegotiationBindingElement();
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateSspiNegotiationBindingElement ();
static member CreateSspiNegotiationBindingElement : unit -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateSspiNegotiationBindingElement () As SymmetricSecurityBindingElement

Returns

A SymmetricSecurityBindingElement object.

Remarks

The security context token issued at the end of the SSPI negotiation is cookie based.

Applies to

CreateSspiNegotiationBindingElement(Boolean)

Creates a symmetric security binding element that does SOAP SSPI negotiation based on the Negotiate authentication package.

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateSspiNegotiationBindingElement(bool requireCancellation);
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateSspiNegotiationBindingElement (bool requireCancellation);
static member CreateSspiNegotiationBindingElement : bool -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateSspiNegotiationBindingElement (requireCancellation As Boolean) As SymmetricSecurityBindingElement

Parameters

requireCancellation
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.

Returns

A SymmetricSecurityBindingElement object.

Remarks

If requireCancellation is false, the security context token issued at the end of the SSPI negotiation is cookie based; otherwise, it is session based.

Applies to