<wsHttpBinding> の <security>

<<wsHttpBinding>>のセキュリティ機能を表します。

スキーマの階層

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

構文

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

属性と要素

以降のセクションでは、属性、子要素、および親要素について説明します。

属性

属性 説明

mode

  • 省略可能。適用するセキュリティの種類を指定します。既定値は Message です。

  • この属性は SecurityMode 型です。

子要素

要素 説明

<wsHttpBinding> の <transport>

トランスポートのセキュリティ設定を定義します。この要素は、HttpTransportSecurityElement 型に対応しています。

<wsHttpBinding> の <message>

メッセージのセキュリティ設定を定義します。この要素は、MessageSecurityOverHttpElement 型に対応しています。

親要素

要素 説明

<<wsHttpBinding>>

HTTP トランスポート アプリケーションのセキュリティで保護されたバインディング。

解説

WSHttpBinding クラスは、WS-* 仕様を実装するサービスと相互運用するようにデザインされています。このバインディングのトランスポート セキュリティは、SSL (Secure Sockets Layer) over HTTP または HTTPS です。

参照

リファレンス

WSHttpSecurity
Security
Security
WSHttpSecurityElement

概念

<binding>

その他のリソース

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