Specifies the security requirements for an endpoint configured with a <wsHttpBinding>.
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding>
<security> of <webHttpBinding>
<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>
Attributes
|
Attribute
|
Description
|
|---|
|
mode
|
Specifies whether transport-level security or no security is used by an endpoint. The default is None. This attribute is of type WebHttpSecurityMode.
|
Child Elements
Parent Elements
|
Element
|
Description
|
|---|
|
<wsHttpBinding>
|
A binding element that is used to configure endpoints for Windows Communication Foundation (WCF) Web services that respond to HTTP requests instead of SOAP messages.
|
Reference
WebHttpBindingElement
WSHttpSecurityElement
Security
Security
WebHttpSecurity
Concepts
<binding>
Other Resources
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
>
© 2007 Microsoft Corporation. All rights reserved.