customBinding.config 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <system.serviceModel>
  4. <bindings>
  5. <customBinding>
  6. <binding name="CustomBinding_1" closeTimeout="00:02:00" openTimeout="00:02:00"
  7. receiveTimeout="00:20:00" sendTimeout="00:02:00">
  8. <binaryMessageEncoding maxReadPoolSize="128" maxWritePoolSize="32"
  9. maxSessionSize="1024">
  10. <readerQuotas maxDepth="1024" maxStringContentLength="1024" maxArrayLength="1024"
  11. maxBytesPerRead="1024" maxNameTableCharCount="1024" />
  12. </binaryMessageEncoding>
  13. <compositeDuplex clientBaseAddress="http://client.base.address" />
  14. <oneWay maxAcceptedChannels="5" packetRoutable="true">
  15. <channelPoolSettings idleTimeout="00:01:00" leaseTimeout="00:12:00"
  16. maxOutboundChannelsPerEndpoint="5" />
  17. </oneWay>
  18. <httpTransport manualAddressing="true" maxBufferPoolSize="262144"
  19. maxReceivedMessageSize="32768" allowCookies="true" authenticationScheme="None"
  20. bypassProxyOnLocal="true" hostNameComparisonMode="Exact" keepAliveEnabled="false"
  21. maxBufferSize="32768" proxyAddress="http://proxy.address" proxyAuthenticationScheme="None"
  22. realm="Realm" transferMode="Streamed" unsafeConnectionNtlmAuthentication="true"
  23. useDefaultWebProxy="false" />
  24. <pnrpPeerResolver />
  25. <privacyNoticeAt url="http://url" version="5" />
  26. <reliableSession acknowledgementInterval="00:00:00.4000000" flowControlEnabled="false"
  27. inactivityTimeout="00:15:00" maxPendingChannels="8" maxRetryCount="16"
  28. maxTransferWindowSize="16" ordered="false" reliableMessagingVersion="WSReliableMessaging11" />
  29. <security defaultAlgorithmSuite="Basic256Rsa15" allowSerializedSigningTokenOnReply="true"
  30. authenticationMode="UserNameForCertificate" requireDerivedKeys="false"
  31. securityHeaderLayout="Lax" includeTimestamp="false" keyEntropyMode="ClientEntropy"
  32. messageProtectionOrder="EncryptBeforeSign" messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11"
  33. requireSecurityContextCancellation="false" requireSignatureConfirmation="true">
  34. <issuedTokenParameters keySize="6" keyType="AsymmetricKey" tokenType="TokenType">
  35. <additionalRequestParameters>
  36. <myxml>myinnertext</myxml>
  37. </additionalRequestParameters>
  38. <claimTypeRequirements>
  39. <add claimType="NewClaimType" isOptional="true" />
  40. </claimTypeRequirements>
  41. <issuer address="http://address" binding="customBinding" bindingConfiguration="CustomBinding_1">
  42. <headers>
  43. <Tag1>Value1</Tag1>
  44. <Tag2>Value2</Tag2>
  45. </headers>
  46. <identity>
  47. <userPrincipalName value="UserProncipalName" />
  48. <servicePrincipalName value="ServicePrincipalName" />
  49. <dns value="Dns" />
  50. <rsa value="Rsa" />
  51. <certificate encodedValue="Certificate" />
  52. <certificateReference storeName="Root" storeLocation="CurrentUser"
  53. x509FindType="FindByIssuerName" findValue="FindValue" isChainIncluded="true" />
  54. </identity>
  55. </issuer>
  56. <issuerMetadata address="http://address">
  57. <headers>
  58. <Tag>Value</Tag>
  59. </headers>
  60. <identity>
  61. <userPrincipalName value="UserPrincipalName" />
  62. <servicePrincipalName value="ServicePrincipalName" />
  63. <dns value="Dns" />
  64. <rsa value="Rsa" />
  65. <certificate encodedValue="Certificate" />
  66. <certificateReference storeName="Root" storeLocation="CurrentUser"
  67. x509FindType="FindByIssuerName" findValue="FindValue" isChainIncluded="true" />
  68. </identity>
  69. </issuerMetadata>
  70. </issuedTokenParameters>
  71. <localClientSettings cacheCookies="false" detectReplays="false"
  72. replayCacheSize="600000" maxClockSkew="00:06:00" replayWindow="00:06:00"
  73. sessionKeyRenewalInterval="15:00:00" sessionKeyRolloverInterval="00:06:00"
  74. reconnectTransportOnFailure="true" timestampValidityDuration="00:06:00"
  75. cookieRenewalThresholdPercentage="70" />
  76. <localServiceSettings detectReplays="false" issuedCookieLifetime="15:00:00"
  77. maxStatefulNegotiations="256" replayCacheSize="600000" maxClockSkew="00:10:00"
  78. negotiationTimeout="00:02:00" replayWindow="00:08:00" inactivityTimeout="00:04:00"
  79. sessionKeyRenewalInterval="10:00:00" sessionKeyRolloverInterval="00:06:00"
  80. reconnectTransportOnFailure="false" maxPendingSessions="256"
  81. maxCachedCookies="2000" timestampValidityDuration="00:06:00" />
  82. <secureConversationBootstrap defaultAlgorithmSuite="Basic256Rsa15"
  83. allowSerializedSigningTokenOnReply="true" authenticationMode="UserNameForCertificate"
  84. requireDerivedKeys="false" securityHeaderLayout="Lax" includeTimestamp="false"
  85. keyEntropyMode="ClientEntropy" messageProtectionOrder="EncryptBeforeSign"
  86. messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11"
  87. requireSecurityContextCancellation="false" requireSignatureConfirmation="true">
  88. <issuedTokenParameters keySize="6" keyType="AsymmetricKey" tokenType="TokenType">
  89. <additionalRequestParameters>
  90. <myxml>myinnertext</myxml>
  91. </additionalRequestParameters>
  92. <claimTypeRequirements>
  93. <add claimType="NewClaimType" isOptional="true" />
  94. </claimTypeRequirements>
  95. <issuer address="http://address" binding="customBinding" bindingConfiguration="CustomBinding_1">
  96. <headers>
  97. <Tag1>Value1</Tag1>
  98. <Tag2>Value2</Tag2>
  99. </headers>
  100. <identity>
  101. <userPrincipalName value="UserProncipalName" />
  102. <servicePrincipalName value="ServicePrincipalName" />
  103. <dns value="Dns" />
  104. <rsa value="Rsa" />
  105. <certificate encodedValue="Certificate" />
  106. <certificateReference storeName="Root" storeLocation="CurrentUser"
  107. x509FindType="FindByIssuerName" findValue="FindValue" isChainIncluded="true" />
  108. </identity>
  109. </issuer>
  110. <issuerMetadata address="http://address">
  111. <headers>
  112. <Tag>Value</Tag>
  113. </headers>
  114. <identity>
  115. <userPrincipalName value="UserPrincipalName" />
  116. <servicePrincipalName value="ServicePrincipalName" />
  117. <dns value="Dns" />
  118. <rsa value="Rsa" />
  119. <certificate encodedValue="Certificate" />
  120. <certificateReference storeName="Root" storeLocation="CurrentUser"
  121. x509FindType="FindByIssuerName" findValue="FindValue" isChainIncluded="true" />
  122. </identity>
  123. </issuerMetadata>
  124. </issuedTokenParameters>
  125. <localClientSettings cacheCookies="false" detectReplays="false"
  126. replayCacheSize="600000" maxClockSkew="00:06:00" replayWindow="00:06:00"
  127. sessionKeyRenewalInterval="15:00:00" sessionKeyRolloverInterval="00:06:00"
  128. reconnectTransportOnFailure="true" timestampValidityDuration="00:06:00"
  129. cookieRenewalThresholdPercentage="70" />
  130. <localServiceSettings detectReplays="false" issuedCookieLifetime="15:00:00"
  131. maxStatefulNegotiations="256" replayCacheSize="600000" maxClockSkew="00:10:00"
  132. negotiationTimeout="00:02:00" replayWindow="00:08:00" inactivityTimeout="00:04:00"
  133. sessionKeyRenewalInterval="10:00:00" sessionKeyRolloverInterval="00:06:00"
  134. reconnectTransportOnFailure="false" maxPendingSessions="256"
  135. maxCachedCookies="2000" timestampValidityDuration="00:06:00" />
  136. </secureConversationBootstrap>
  137. </security>
  138. <sslStreamSecurity requireClientCertificate="true" />
  139. <transactionFlow transactionProtocol="WSAtomicTransactionOctober2004" />
  140. <useManagedPresentation />
  141. </binding>
  142. <binding name="CustomBinding_2">
  143. <textMessageEncoding maxReadPoolSize="128" maxWritePoolSize="32"
  144. messageVersion="Soap11WSAddressingAugust2004" writeEncoding="utf-32">
  145. <readerQuotas maxDepth="128" maxStringContentLength="128" maxArrayLength="128"
  146. maxBytesPerRead="128" maxNameTableCharCount="128" />
  147. </textMessageEncoding>
  148. <windowsStreamSecurity protectionLevel="None" />
  149. <httpsTransport manualAddressing="true" maxBufferPoolSize="262144"
  150. maxReceivedMessageSize="32768" allowCookies="true" authenticationScheme="None"
  151. bypassProxyOnLocal="true" hostNameComparisonMode="Exact" keepAliveEnabled="true"
  152. maxBufferSize="32768" proxyAddress="https://proxy.address" proxyAuthenticationScheme="None"
  153. realm="Realm" transferMode="Streamed" unsafeConnectionNtlmAuthentication="true"
  154. useDefaultWebProxy="false" requireClientCertificate="true" />
  155. </binding>
  156. <binding name="CustomBinding_3">
  157. <mtomMessageEncoding maxReadPoolSize="128" maxWritePoolSize="32"
  158. messageVersion="Soap11WSAddressingAugust2004" maxBufferSize="32768"
  159. writeEncoding="utf-32">
  160. <readerQuotas maxDepth="256" maxStringContentLength="256" maxArrayLength="256"
  161. maxBytesPerRead="256" maxNameTableCharCount="256" />
  162. </mtomMessageEncoding>
  163. <msmqIntegration manualAddressing="true" maxBufferPoolSize="262144"
  164. maxReceivedMessageSize="32768" customDeadLetterQueue="http://CustomDeadLetterQueue"
  165. deadLetterQueue="Custom" durable="false" exactlyOnce="false"
  166. maxRetryCycles="3" receiveErrorHandling="Drop" receiveRetryCount="10"
  167. retryCycleDelay="00:15:00" timeToLive="1.12:00:00" useSourceJournal="true"
  168. useMsmqTracing="true" serializationFormat="Binary">
  169. <msmqTransportSecurity msmqAuthenticationMode="Certificate" msmqEncryptionAlgorithm="Aes"
  170. msmqProtectionLevel="EncryptAndSign" msmqSecureHashAlgorithm="Sha256" />
  171. </msmqIntegration>
  172. </binding>
  173. <binding name="CustomBinding_4">
  174. <msmqTransport manualAddressing="true" maxBufferPoolSize="262144"
  175. maxReceivedMessageSize="262144" customDeadLetterQueue="http://CustomDeadLetterQueue"
  176. deadLetterQueue="Custom" durable="false" exactlyOnce="false"
  177. maxRetryCycles="3" receiveErrorHandling="Drop" receiveRetryCount="9"
  178. retryCycleDelay="00:15:00" timeToLive="1.12:00:00" useSourceJournal="true"
  179. useMsmqTracing="true" maxPoolSize="16" queueTransferProtocol="Srmp"
  180. useActiveDirectory="true">
  181. <msmqTransportSecurity msmqAuthenticationMode="Certificate" msmqEncryptionAlgorithm="Aes"
  182. msmqProtectionLevel="EncryptAndSign" msmqSecureHashAlgorithm="Sha256" />
  183. </msmqTransport>
  184. </binding>
  185. <binding name="CustomBinding_5">
  186. <namedPipeTransport manualAddressing="true" maxBufferPoolSize="262144"
  187. maxReceivedMessageSize="32768" connectionBufferSize="4096" hostNameComparisonMode="Exact"
  188. channelInitializationTimeout="00:00:20" maxBufferSize="32768"
  189. maxPendingConnections="5" maxOutputDelay="00:00:01.2000000" maxPendingAccepts="3"
  190. transferMode="Streamed">
  191. <connectionPoolSettings groupName="GroupName" idleTimeout="00:06:00"
  192. maxOutboundConnectionsPerEndpoint="20" />
  193. </namedPipeTransport>
  194. </binding>
  195. <binding name="CustomBinding_6">
  196. <tcpTransport manualAddressing="true" maxBufferPoolSize="262144"
  197. maxReceivedMessageSize="32768" connectionBufferSize="4096" hostNameComparisonMode="Exact"
  198. channelInitializationTimeout="00:00:15" maxBufferSize="32768"
  199. maxPendingConnections="20" maxOutputDelay="00:00:01.2000000"
  200. maxPendingAccepts="3" transferMode="Streamed" listenBacklog="20"
  201. portSharingEnabled="true" teredoEnabled="true">
  202. <connectionPoolSettings groupName="GroupName" leaseTimeout="00:15:00"
  203. idleTimeout="00:02:30" maxOutboundConnectionsPerEndpoint="30" />
  204. </tcpTransport>
  205. </binding>
  206. <binding name="CustomBinding_7">
  207. <peerTransport listenIPAddress="192.168.0.1" maxBufferPoolSize="262144"
  208. maxReceivedMessageSize="32768" port="88">
  209. <security mode="Message">
  210. <transport credentialType="Certificate" />
  211. </security>
  212. </peerTransport>
  213. </binding>
  214. </customBinding>
  215. </bindings>
  216. </system.serviceModel>
  217. </configuration>