Aracılığıyla paylaş


<security> of <wsHttpBinding>

Represents the security capabilities of the <wsHttpBinding>.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <wsHttpBinding>
      <binding>
        <security> of <wsHttpBinding>

Syntax

<security mode="Message/None/Transport/TransportWithMessageCredential">
   <transport
         clientCredentialType="Basic/Certificate/Digest/None/Ntlm/Windows"
      proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
      realm="string" 
      defaultClientCredentialType="Basic/Certificate/Digest/None/Ntlm/Windows"
      defaultProxyCredentialType="Basic/Digest/None/Ntlm/Windows"
      defaultRealm="string" />
   <message
            clientCredentialType="Certificate/IssuedToken/None/UserName/Windows"
      algorithmSuite="Basic128/Basic192/Basic256/Basic128Rsa15/Basic256Rsa15/TripleDes/TripleDesRsa15/Basic128Sha256/Basic192Sha256/TripleDesSha256/Basic128Sha256Rsa15/Basic192Sha256Rsa15/Basic256Sha256Rsa15/TripleDesSha256Rsa15"
       establishSecurityContext="Boolean" 
      negotiateServiceCredential="Boolean"/>
</security>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements

Attributes

Attribute Description

mode

  • Optional. Specifies the type of security that is applied. The default is Message.

  • This attribute is of type SecurityMode.

Child Elements

Element Description

<transport> of <wsHttpBinding>

Defines the transport security settings. This element corresponds to the HttpTransportSecurityElement type.

<message> of <wsHttpBinding>

Defines the security settings for the message. This element corresponds to the MessageSecurityOverHttpElement type.

Parent Elements

Element Description

<wsHttpBinding>

A secure binding for HTTP transport applications.

Remarks

The WSHttpBinding class is designed for interoperation with services that implement WS-* specifications. The transport security for this binding is Secure Sockets Layer (SSL) over HTTP, or HTTPS.

See Also

Reference

WSHttpSecurity
Security
Security
WSHttpSecurityElement

Concepts

<binding>

Other Resources

Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients