Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/app.config @ 4333

Last change on this file since 4333 was 4333, checked in by cneumuel, 12 years ago

added authorizationManager which checks for permission to specific jobs (#1168)

File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <system.diagnostics>
4    <sources>
5      <source name="Warnings" switchValue="Warning, ActivityTracing">
6        <listeners>
7          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
8            <filter type="" />
9          </add>
10        </listeners>
11      </source>
12    </sources>
13    <sharedListeners>
14      <add type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
15        name="EventLogTracer" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
16        <filter type="" />
17      </add>
18    </sharedListeners>
19  </system.diagnostics>
20  <connectionStrings>
21    <add name="HeuristicLab.Authentication"
22         connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
23  </connectionStrings>
24
25  <system.web>
26    <membership>
27      <providers>
28        <clear/>
29        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
30             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
31             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
32             applicationName="HeuristicLab.Authentication" />
33      </providers>
34    </membership>
35
36    <roleManager enabled="true">
37      <providers>
38        <clear/>
39        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
40      </providers>
41    </roleManager>
42  </system.web>
43
44  <system.serviceModel>
45
46    <diagnostics>
47      <messageLogging logEntireMessage="true" logMalformedMessages="true"
48        logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"
49        maxMessagesToLog="3000" />
50    </diagnostics>
51    <bindings>
52      <netTcpBinding>
53        <binding name="TcpStreamedBinding" sendTimeout="00:10:00" transferMode="Streamed"
54          maxBufferPoolSize="104857600" maxBufferSize="104857600"
55          maxReceivedMessageSize="104857600" maxConnections="100" listenBacklog="100">
56          <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" />
57          <security mode="TransportWithMessageCredential">
58            <transport clientCredentialType="Certificate"/>
59            <message clientCredentialType="UserName" />
60          </security>
61        </binding>
62      </netTcpBinding>
63      <wsHttpBinding>
64        <binding name="HiveServerHttpBinding">
65          <security mode="Message">
66            <transport/>
67            <message clientCredentialType="UserName" />
68          </security>
69        </binding>
70      </wsHttpBinding>
71    </bindings>
72    <behaviors>
73      <serviceBehaviors>
74        <behavior name="ServiceBehaviour">
75          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
76          <serviceDebug includeExceptionDetailInFaults="true" />
77          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
78            roleProviderName="AspNetSqlRoleProvider" />
79          <serviceCredentials>
80            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
81            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
82              membershipProviderName="AspNetSqlMembershipProvider" />
83          </serviceCredentials>
84          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false"
85            messageAuthenticationAuditLevel="SuccessOrFailure" />
86          <serviceThrottling maxConcurrentCalls="100"/>
87        </behavior>
88      </serviceBehaviors>
89    </behaviors>
90    <services>
91      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade">
92        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding"
93          name="SlaveHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
94        <endpoint address="mex" binding="mexHttpBinding" name="SlaveMexEndpoint" bindingConfiguration=""
95          contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
96        <endpoint binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding"
97          name="SlaveTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
98        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
99          name="SlaveTcpMexEndpoint" contract="IMetadataExchange" />
100        <host>
101          <baseAddresses>
102            <add baseAddress="http://localhost:9000/SlaveService" />
103            <add baseAddress="net.tcp://localhost:9001/SlaveServiceStreamed" />
104          </baseAddresses>
105        </host>
106      </service>
107      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade">
108        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding"
109          name="ServerConsoleHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
110        <endpoint address="mex" binding="mexHttpBinding" name="ServerConsoleMexEndpoint"
111          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
112        <host>
113          <baseAddresses>
114            <add baseAddress="http://localhost:9000/ServerConsoleService" />
115          </baseAddresses>
116        </host>
117      </service>
118      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ClientFacade">
119        <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding"
120          name="ClientTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
121        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
122          name="ClientTcpMexEndpoint" contract="IMetadataExchange" />
123        <endpoint binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding"
124          name="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
125        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration=""
126          name="ClientHttpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
127        <host>
128          <baseAddresses>
129            <add baseAddress="net.tcp://localhost:9001/ClientServiceStreamed" />
130            <add baseAddress="http://localhost:9000/ClientService" />
131          </baseAddresses>
132        </host>
133      </service>
134    </services>
135
136  </system.serviceModel>
137
138</configuration>
Note: See TracBrowser for help on using the repository browser.