<webHttpBinding> の <security>
<<wsHttpBinding>>で構成されるエンドポイントのセキュリティ要件を指定します。
スキーマの階層
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding>
<webHttpBinding> の <security>
構文
<system.ServiceModel>
<bindings>
<webHttpBinding>
<binding name = "string">
<security mode="None/Transport/TransportCredentialOnly">
<transport clientCredentialType =
"Basic/Certificate/Digest/None/Ntlm/Windows"
proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
realm="string" />
</security>
</webHttpBinding>
</bindings>
</system.ServiceModel>
属性と要素
以降のセクションでは、属性、子要素、および親要素について説明します。
属性
属性 | 説明 |
---|---|
mode |
トランスポート レベルのセキュリティをエンドポイントで使用するか、セキュリティを使用しないかを指定します。既定値は None です。この属性は WebHttpSecurityMode 型です。 |
子要素
要素 | 説明 |
---|---|
トランスポートのセキュリティ設定を定義します。この要素は、HttpTransportSecurityElement 型に対応しています。 |
親要素
要素 | 説明 |
---|---|
SOAP メッセージに代わって HTTP 要求に応答する Windows Communication Foundation (WCF) Web サービスのエンドポイントを構成するために使用するバインド要素。 |
参照
リファレンス
WebHttpBindingElement
WSHttpSecurityElement
Security
Security
WebHttpSecurity
概念
その他のリソース
Securing Services and Clients
Selecting a Credential Type
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients
Web Programming Model