<ws2007FederationHttpBinding> 的 <security> 元素

定义 <<ws2007FederationHttpBinding>> 元素的安全设置。

<system.serviceModel>
  <bindings>
    <<ws2007FederationHttpBinding>>
      <binding>
        <ws2007FederationHttpBinding> 的 <security> 元素

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

属性和元素

属性

属性 说明

mode

可选。指定所应用的安全类型。默认值为 Message。此属性的类型为 WSFederationHttpSecurityMode

子元素

元素 说明

<ws2007HttpBinding> 的 <message>

定义消息级安全性设置。此元素的类型为 FederatedMessageSecurityOverHttpElement

父元素

元素 说明

<binding>

定义 <wsDualHttpBinding>的所有绑定功能。

另请参见

参考

WSFederationHttpSecurity
Security
Security
WSFederationHttpSecurityElement

概念

<binding>

其他资源

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