共用方式為


<security> of <wsFederationHttpBinding>

Defines the security settings of the <wsFederationHttpBinding>.

<system.serviceModel>

  <bindings>

    <wsFederationHttpBinding>

      <binding>

        <security> of <wsFederationHttpBinding>

                                    
                                    <wsFederationBinding>
                                
                                    
                                        <binding >
                                
                                    
                                            <security mode="None/Message/TransportWithMessageCredential">
                                
                                    
                                               <message negotiateServiceCredential="Boolean"
                                
                                    
                                                    algorithmSuite="Aes128/Aes192/Aes256/Rsa15Aes128/ Rsa15Aes256/TripleDes"
                                
                                    
                                                    defaultProtectionLevel="none/sign/EncryptAndSign" 
                                
                                    
                                                    issuedTokenType="string" 
                                
                                    
                                                    issuedKeyType="SymmetricKey/PublicKey"
                                
                                    
                                               </message>
                                
                                    
                                            </security>
                                
                                    
                                        </binding>
                                
                                    
                                    </wsFederationBinding>
                                

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 needs to 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 needs to 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> element of <wsFederationHttpBinding>

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

Reference

WSFederationHttpSecurity

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.