Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/app.config @ 4302

Last change on this file since 4302 was 4302, checked in by cneumuel, 14 years ago
  • made ServerConsole work with wsHttpBinding
  • applied role-base restrictions to all WCF-Services
  • made wcf-services work with certificates
  • renamed ExecutionEngineFacade to ClientFacade

(#1168)

File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3  <system.serviceModel>
4    <behaviors>
5      <endpointBehaviors>
6        <behavior name="ServerConsoleBehaviour">
7          <clientCredentials>
8            <serviceCertificate>
9              <authentication certificateValidationMode="None" />
10            </serviceCertificate>
11          </clientCredentials>
12        </behavior>
13      </endpointBehaviors>
14    </behaviors>
15    <bindings>
16      <wsHttpBinding>
17        <binding name="ServerConsoleHttpEndpoint" closeTimeout="00:01:00"
18            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
19            bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
20            maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
21            messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
22            allowCookies="false">
23          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
24              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
25          <reliableSession ordered="true" inactivityTimeout="00:10:00"
26              enabled="false" />
27          <security mode="Message">
28            <transport clientCredentialType="Windows" proxyCredentialType="None"
29                realm="" />
30            <message clientCredentialType="UserName" negotiateServiceCredential="true"
31                algorithmSuite="Default" />
32          </security>
33        </binding>
34        <binding name="ServerConsoleMexEndpoint" closeTimeout="00:01:00"
35            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
36            bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
37            maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
38            messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
39            allowCookies="false">
40          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
41              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
42          <reliableSession ordered="true" inactivityTimeout="00:10:00"
43              enabled="false" />
44          <security mode="None">
45            <transport clientCredentialType="Windows" proxyCredentialType="None"
46                realm="" />
47            <message clientCredentialType="Windows" negotiateServiceCredential="true" />
48          </security>
49        </binding>
50      </wsHttpBinding>
51    </bindings>
52    <client>
53      <endpoint address="http://locahost:9000/ServerConsoleService"
54          binding="wsHttpBinding" bindingConfiguration="ServerConsoleHttpEndpoint" behaviorConfiguration="ServerConsoleBehaviour"
55          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleHttpEndpoint">
56        <identity>
57          <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" />
58          <dns value="localhost" />
59        </identity>
60      </endpoint>
61      <endpoint address="http://locahost:9000/ServerConsoleService/mex"
62          binding="wsHttpBinding" bindingConfiguration="ServerConsoleMexEndpoint"
63          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleMexEndpoint" />
64    </client>
65  </system.serviceModel>
66</configuration>
Note: See TracBrowser for help on using the repository browser.