다음을 통해 공유


<transport>

Defines authentication settings for the HTTP transport.

<system.serviceModel>

  <bindings>

    <wsHttpBinding>

      <binding>

        <security> of <wsHttpBinding>

          <transport>

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

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.

proxyClientType

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

realm

A string that specifies 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 that has access. A user can query the authentication realm to understand which one of the several possible usernames and passwords can be used.

clientCredentialType Attribute

Value Description

None

Security is disabled.

Basic

Uses basic authentication.

Digest

Uses digest authentication.

Ntlm

Uses NTLM as a fallback with a Windows domain.

Windows

Uses integrated Windows authentication.

Certificate

Uses X.509 certificates to authenticate the client.

proxyCredentialType Attribute

Value Description

None

Security is disabled.

Basic

Uses basic authentication.

Digest

Uses digest authentication.

Ntlm

Uses NTLM as a fallback with a Windows domain.

Windows

Uses integrated Windows authentication.

Certificate

Uses X.509 certificates to authenticate the client.

Child Elements

None.

Parent Elements

Element Description

<security> of <wsHttpBinding>

Represents the security capabilities of the <wsHttpBinding>.

See Also

Reference

HttpTransportSecurity

Other Resources

Selecting a Credential Type

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.