<wsHttpBinding> 的 <transport>
定義 HTTP 傳輸的驗證設定。
<<system.serviceModel>>
<bindings>
<<wsHttpBinding>>
<binding>
<wsHttpBinding> 的 <security>
<wsHttpBinding> 的 <transport>
<transport
clientCredentialType="Basic/Certificate/Digest/None/Ntlm/Windows"
proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
realm="string" />
屬性和項目
屬性
屬性 | 描述 |
---|---|
clientCredentialType |
指定用來對服務驗證用戶端的認證。此屬性的型別為 HttpClientCredentialType。 |
proxyCredentialType |
指定用來對網域 Proxy 驗證用戶端的認證。此屬性的型別為 HttpProxyCredentialType。 |
realm |
指定摘要式驗證或基本驗證之驗證領域的字串。預設為空字串。 驗證領域至少會指定負責執行驗證之主機的名稱,也可以指定具有存取權之使用者的集合。使用者可以查詢驗證領域,以確定可以使用的其中一組使用者名稱和密碼。 |
子項目
無。
父項目
項目 | 描述 |
---|---|
代表 <<wsHttpBinding>>的安全性功能。 |
請參閱
參考
HttpTransportSecurity
Transport
Transport
HttpTransportSecurityElement
概念
其他資源
Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients