Partager via


<transport> de <ws2007HttpBinding>

Définit les paramètres d'authentification correspondant au transport HTTP.

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

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

HttpTransportSecurity

Attributs et éléments

Attributs

Attribut Description

clientCredentialType

Spécifie les informations d'identification utilisées pour authentifier le client auprès du service. Cet attribut est de type HttpClientCredentialType.

proxyCredentialType

Spécifie les informations d'identification utilisées pour authentifier le client auprès d'un proxy de domaine. Cet attribut est de type HttpProxyCredentialType.

realm

Domaine d'authentification correspondant à l'authentification de base ou Digest. La valeur par défaut est une chaîne vide.

Un domaine d'authentification spécifie au moins le nom de l'hôte qui exécute l'authentification. Il peut également spécifier une collection d'utilisateurs disposant d'un accès. Un utilisateur peut interroger le domaine d'authentification afin de déterminer les noms d'utilisateur et les mots de passe pouvant être utilisés.

Éléments enfants

Aucune

Éléments parents

Élément Description

<security> de <ws2007HttpBinding>

Représente les fonctionnalités de sécurité de l'élément <ws2007HttpBinding>.

Voir aussi

Référence

HttpTransportSecurity
Transport
Transport
WSHttpTransportSecurityElement

Concepts

<binding>

Autres ressources

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