<security> element of <ws2007FederationHttpBinding>

Defines the security settings of the <ws2007FederationHttpBinding> element.

<system.ServiceModel>
<bindings>
<ws2007FederationHttpBinding>
<binding>
<security>

Syntax

<ws2007FederationBinding>  
    <binding >  
        <security mode="None/Message/TransportWithMessageCredential">  
           <message negotiateServiceCredential="Boolean"  
                algorithmSuite="Basic128/Basic192/Basic256/Basic128Rsa15/ Basic256Rsa15/TripleDes/TripleDesRsa15/Basic128Sha256/Basic192Sha256/TripleDesSha256/Basic128Sha256Rsa15/Basic192Sha256Rsa15/Basic256Sha256Rsa15/TripleDesSha256Rsa15"  
                defaultProtectionLevel="none/sign/EncryptAndSign"   
                issuedTokenType="string"   
                issuedKeyType="SymmetricKey/PublicKey"  
           </message>  
        </security>  
    </binding>  
</ws2007FederationBinding>  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
mode Optional. Specifies the type of security that is applied. The default value is Message. This attribute is of type WSFederationHttpSecurityMode.

mode Attribute

Value Description
None The SOAP message is not secure during transfer.
Message Integrity, confidentiality, server authentication and client authentication are provided using SOAP message security. By default, the body is encrypted and signed. The service must be configured with a certificate. Client authentication is based on the token issued to the client by a security token service.
TransportWithMessageCredential Integrity, confidentiality and server authentication are provided by HTTPS. The service must be configured with a certificate. Client authentication is provided by means of SOAP message security and is based on the token issued to the client by a security token service.

Child Elements

Element Description
<message> Defines the settings for the message-level security. This element is of type FederatedMessageSecurityOverHttpElement.

Parent Elements

Element Description
<binding> Defines all binding capabilities of the <wsDualHttpBinding>.

See Also

WSFederationHttpSecurity
Security
Security
WSFederationHttpSecurityElement
How to: Create a WSFederationHttpBinding
Securing Services and Clients
Selecting a Credential Type
Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Windows Communication Foundation Services and Clients
<binding>