Compartir a través de


Elemento <security> de <wsFederationHttpBinding>

Define la configuración de seguridad de <<wsFederationHttpBinding>>.

Jerarquía del esquema

<<system.serviceModel>>
  <enlaces>
    <<wsFederationHttpBinding>>
      <binding>
        Elemento <security> de <wsFederationHttpBinding>

Sintaxis

<wsFederationBinding>
    <binding >
       <security mode="None/Message/TransportWithMessageCredential">
         <message 
            algorithmSuite="Basic128/Basic192/Basic256/Basic128Rsa15/Basic256Rsa15/TripleDes/TripleDesRsa15/Basic128Sha256/Basic192Sha256/TripleDesSha256/Basic128Sha256Rsa15/Basic192Sha256Rsa15/Basic256Sha256Rsa15/TripleDesSha256Rsa15"
            issuedTokenType="string" 
            issuedKeyType="SymmetricKey/PublicKey"
            negotiateServiceCredential="Boolean" >
            <claimTypeRequirements>
               <add claimType="URI"
                    isOptional="Boolean" />
            </claimTypeRequirements>
                        <issuer address="Uri" >
               <headers>
                  <add name="String"
                       namespace="String" />
                          </headers>
                              <identity>
                                 <certificate encodedValue="String"/>
                                <certificateReference findValue="String" 
                                 isChainIncluded="Boolean"
                            storeName="AddressBook/AuthRoot/CertificateAuthority/Disallowed/My/Root/TrustedPeople/TrustedPublisher"
                                  storeLocation="LocalMachine/CurrentUser"
                                   X509FindType=System.Security.Cryptography.X509certificates.X509findtype/>
                                   <dns value="String"/>
                                <rsa value="String"/>
                                <servicePrincipalName value="String"/>
                                <usePrincipalName value="String"/>
                              </identity>
                        </issuer>
                        <issuerMetadata address=String" >
               <headers>
                  <add name="String"
                       namespace="String" />
               </headers>
               <identity>
                  <certificate encodedValue="String"/>
                  <certificateReference findValue="String" 
                     isChainIncluded="Boolean"
                     storeName="AddressBook/AuthRoot/CertificateAuthority/Disallowed/My/Root/TrustedPeople/TrustedPublisher"
                     storeLocation="LocalMachine/CurrentUser"
                                   X509FindType=System.Security.Cryptography.X509certificates.X509findtype/>
                  <dns value="String"/>
                  <rsa value="String"/>
                  <servicePrincipalName value="String"/>
                  <usePrincipalName value="String"/>
               </identity>
                        </issuerMetadata>
            <tokenRequestParameters>
               <xmlElement>
               </xmlElement>
            </tokenRequestParameters>
         </message>
       </security>
    </binding>
</wsFederationBinding>

Atributos y elementos

En las siguientes secciones se describen los atributos, elementos secundarios y elementos primarios.

Atributos

Atributo Descripción

Mode

Opcional. Especifica el tipo de seguridad que se aplica. El valor predeterminado es Message. Este atributo es del tipo WSFederationHttpSecurityMode.

Elementos secundarios

Elemento Descripción

Elemento <message> de <wsFederationHttpBinding>

Define la configuración de seguridad del nivel del mensaje. Este elemento es del tipo FederatedMessageSecurityOverHttpElement.

Elementos primarios

Elemento Descripción

<binding>

Define todas las funciones de enlace de <<wsDualHttpBinding>>.

Vea también

Referencia

WSFederationHttpSecurity
Security
Security
WSFederationHttpSecurityElement

Conceptos

<binding>

Otros recursos

How to: Create a WSFederationHttpBinding
Securing Services and Clients
Selecting a Credential Type
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients