Поделиться через


<transport> of <ws2007HttpBinding>

Defines authentication settings for the HTTP transport.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <ws2007HttpBinding>
      <binding>
        <security> of <ws2007HttpBinding>
          <transport> of <ws2007HttpBinding>

Syntax

transport clientCredentialType = 
       "Basic/Certificate/Digest/None/Ntlm/Windows"
       proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
       realm="string" 

HttpTransportSecurity

Attributes and Elements

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

Attributes

Attribute Description

clientCredentialType

Specifies the credential used to authenticate the client to the service. This attribute is of type HttpClientCredentialType.

proxyCredentialType

Specifies the credential used to authenticate the client to a domain proxy. This attribute is of type HttpProxyCredentialType.

realm

The authentication realm for digest or basic authentication. The default is an empty string.

An authentication realm specifies at least the name of the host that performs the authentication. It can also specify a collection of users who have access. A user can query the authentication realm to determine which one of the several possible usernames and passwords can be used.

Child Elements

None

Parent Elements

Element Description

<security> of <ws2007HttpBinding>

Represents the security capabilities of the <ws2007HttpBinding> element.

See Also

Reference

HttpTransportSecurity
Transport
Transport
WSHttpTransportSecurityElement

Concepts

<binding>

Other Resources

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


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05