Compartir a través de


<security> de <webHttpBinding>

Especifica los requisitos de seguridad para un extremo configurado con <<wsHttpBinding>>.

<<system.serviceModel>>
  <enlaces>
    <<wsHttpBinding>>
      <enlace>
        <security> de <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>

Atributos y elementos

Atributos

Atributo Descripción

mode

Especifica si un extremo usa la seguridad a nivel de transporte o no usa ninguna. El valor predeterminado es None. Este atributo es del tipo WebHttpSecurityMode.

Elementos secundarios

Elemento Descripción

<transport> de <webHttpBinding>

Define la configuración de seguridad para el transporte. Este elemento corresponde al tipo HttpTransportSecurityElement.

Elementos primarios

Elemento Descripción

<<wsHttpBinding>>

Un elemento de enlace que se usa para configurar extremos para los servicios web de Windows Communication Foundation (WCF) que responden a las solicitudes HTTP en lugar de a mensajes SOAP.

Consulte también

Referencia

WebHttpBindingElement
WSHttpSecurityElement
Security
Security
WebHttpSecurity

Conceptos

<enlace>

Otros recursos

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