<security> de <wsFederationHttpBinding>

Définit les paramètres de sécurité de <wsFederationHttpBinding>.

Hiérarchie de schéma

<system.serviceModel>
  <bindings>
    <wsFederationHttpBinding>
      <binding>
        <security> de <wsFederationHttpBinding>

Syntaxe

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

Attributs et éléments

Les sections suivantes décrivent des attributs, des éléments enfants et des éléments parents.

Attributs

Attribut Description

Mode

Facultatif. Spécifie le type de sécurité appliqué. La valeur par défaut est Message. Cet attribut est de type WSFederationHttpSecurityMode.

Éléments enfants

Élément Description

<message>, élément de <wsFederationHttpBinding>

Définit les paramètres de sécurité au niveau du message. Cet élément est de type FederatedMessageSecurityOverHttpElement.

Éléments parents

Élément Description

<binding>

Définit toutes les fonctions de liaison de <wsDualHttpBinding>.

Voir aussi

Référence

WSFederationHttpSecurity
Security
Security
WSFederationHttpSecurityElement

Concepts

<binding>

Autres ressources

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