SecurityBindingElement.CreateUserNameForSslBindingElement Method (Boolean)

 

Creates a symmetric security binding element that is configured to require user name- and password-based client authentication and certificate-based server authentication. The client authenticates the server using the SOAP-level SSL protocol.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public static SymmetricSecurityBindingElement CreateUserNameForSslBindingElement(
	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.

If requireCancellation is false, stateful security context tokens are issued; otherwise, stateless security context tokens are issued.

The client does not need to be provisioned with the server certificate because it obtains it as part of the SSL protocol.

.NET Framework
Available since 3.0
Return to top
Show: