SecurityBindingElement.CreateUserNameForSslBindingElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Overloads
CreateUserNameForSslBindingElement() |
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. |
CreateUserNameForSslBindingElement(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. |
CreateUserNameForSslBindingElement()
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.
public:
static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateUserNameForSslBindingElement();
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateUserNameForSslBindingElement ();
static member CreateUserNameForSslBindingElement : unit -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateUserNameForSslBindingElement () As SymmetricSecurityBindingElement
Returns
A SymmetricSecurityBindingElement object.
Remarks
The security context token issued at the end of SSPI negotiation is cookie based.
The client does not need to be provisioned with the server certificate because it obtains it as part of the SSL protocol.
Applies to
CreateUserNameForSslBindingElement(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.
public:
static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateUserNameForSslBindingElement(bool requireCancellation);
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateUserNameForSslBindingElement (bool requireCancellation);
static member CreateUserNameForSslBindingElement : bool -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateUserNameForSslBindingElement (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
, 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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈