Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/app.config @ 4337

Last change on this file since 4337 was 4337, checked in by cneumuel, 14 years ago

changed Slave.Core WCF-Proxy to stateless object

File size: 7.1 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <configSections>
4    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
5      <section name="HeuristicLab.Hive.Slave.Communication.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6    </sectionGroup>
7  </configSections>
8  <system.serviceModel>
9    <behaviors>
10      <endpointBehaviors>
11        <behavior name="SlaveServiceBehaviour">
12          <clientCredentials>
13            <serviceCertificate>
14              <authentication certificateValidationMode="None" />
15            </serviceCertificate>
16          </clientCredentials>
17        </behavior>
18      </endpointBehaviors>
19    </behaviors>
20    <bindings>
21      <netTcpBinding>
22        <binding name="SlaveTcpStreamedEndpoint" closeTimeout="00:01:00"
23          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
24          transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions"
25          hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="104857600"
26          maxBufferSize="104857600" maxReceivedMessageSize="104857600">
27          <readerQuotas maxDepth="32" maxStringContentLength="104857600" maxArrayLength="104857600"
28            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
29          <reliableSession ordered="true" inactivityTimeout="00:10:00"
30            enabled="false" />
31          <security mode="TransportWithMessageCredential">
32            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
33            <message clientCredentialType="UserName" algorithmSuite="Default" />
34          </security>
35        </binding>
36        <binding name="SlaveTcpMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
37          receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false"
38          transferMode="Buffered" transactionProtocol="OleTransactions"
39          hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288"
40          maxBufferSize="65536" maxReceivedMessageSize="65536">
41          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
42            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
43          <reliableSession ordered="true" inactivityTimeout="00:10:00"
44            enabled="false" />
45          <security mode="None">
46            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
47            <message clientCredentialType="Windows" />
48          </security>
49        </binding>
50      </netTcpBinding>
51      <wsHttpBinding>
52        <binding name="SlaveHttpEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
53          receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false"
54          transactionFlow="false" hostNameComparisonMode="StrongWildcard"
55          maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"
56          messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
57          allowCookies="false">
58          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
59            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
60          <reliableSession ordered="true" inactivityTimeout="00:10:00"
61            enabled="false" />
62          <security mode="Message">
63            <transport clientCredentialType="Windows" proxyCredentialType="None"
64              realm="" />
65            <message clientCredentialType="UserName" negotiateServiceCredential="true"
66              algorithmSuite="Default" />
67          </security>
68        </binding>
69        <binding name="SlaveMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
70          receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
71          transactionFlow="false" hostNameComparisonMode="StrongWildcard"
72          maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
73          textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
74          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
75            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
76          <reliableSession ordered="true" inactivityTimeout="00:10:00"
77            enabled="false" />
78          <security mode="None">
79            <transport clientCredentialType="Windows" proxyCredentialType="None"
80              realm="" />
81            <message clientCredentialType="Windows" negotiateServiceCredential="true" />
82          </security>
83        </binding>
84      </wsHttpBinding>
85    </bindings>
86    <client>
87      <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding" behaviorConfiguration="SlaveServiceBehaviour"
88        bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade"
89        name="SlaveHttpEndpoint">
90        <identity>
91          <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" />
92        </identity>
93      </endpoint>
94      <endpoint address="http://localhost:9000/SlaveService/mex" binding="wsHttpBinding"
95        bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade"
96        name="SlaveMexEndpoint" />
97      <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed" behaviorConfiguration="SlaveServiceBehaviour"
98        binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint"
99        contract="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint">
100        <identity>
101          <dns value="localhost" />
102        </identity>
103      </endpoint>
104      <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed/mex"
105        binding="netTcpBinding" bindingConfiguration="SlaveTcpMexEndpoint"
106        contract="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" />
107    </client>
108  </system.serviceModel>
109  <userSettings>
110    <HeuristicLab.Hive.Slave.Communication.Properties.Settings>
111      <setting name="HiveUsername" serializeAs="String">
112        <value>hiveslave</value>
113      </setting>
114      <setting name="HivePassword" serializeAs="String">
115        <value>hiveslave</value>
116      </setting>
117    </HeuristicLab.Hive.Slave.Communication.Properties.Settings>
118  </userSettings>
119</configuration>
Note: See TracBrowser for help on using the repository browser.