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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기