Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Services.OKB/3.3/Web.config @ 18068

Last change on this file since 18068 was 17059, checked in by mkommend, 5 years ago

#2839: Merged 16117, 16122, 16173, 16184, 16185, 16186, 16187, 16202, 16203, 16204, 16205, 16208, 16211, 16209, 16211, 16219, 16257, 16247 into stable.

File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3  <connectionStrings>
4    <add name="HeuristicLab.Authentication" connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
5    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString" connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB"/>
6  </connectionStrings>
7
8  <system.web>
9    <authentication mode="Forms" />
10    <compilation debug="true" targetFramework="4.5" />
11    <customErrors mode="Off" />
12    <membership defaultProvider="AspNetSqlMembershipProvider">
13      <providers>
14        <clear />
15        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
16             requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
17             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
18      </providers>
19    </membership>
20    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
21      <providers>
22        <clear />
23        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
24      </providers>
25    </roleManager>
26  </system.web>
27
28  <system.serviceModel>
29    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
30    <services>
31      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Administration.AdministrationService">
32        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
33          contract="HeuristicLab.Services.OKB.Administration.IAdministrationService" />
34        <host>
35          <baseAddresses>
36            <add baseAddress="http://services.heuristiclab.com/OKB-3.3/AdministrationService.svc" />
37          </baseAddresses>
38        </host>
39      </service>
40      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Query.QueryService">
41        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
42          name="WSHttpBinding_IQueryService" contract="HeuristicLab.Services.OKB.Query.IQueryService" />
43        <endpoint address="net.tcp://services.heuristiclab.com/OKB-3.3/QueryService.svc"
44          binding="netTcpBinding" bindingConfiguration="DefaultNetBinding"
45          name="NetBinding_IQueryService" contract="HeuristicLab.Services.OKB.Query.IQueryService" />
46        <host>
47          <baseAddresses>
48            <add baseAddress="http://services.heuristiclab.com/OKB-3.3/QueryService.svc" />
49          </baseAddresses>
50        </host>
51      </service>
52      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.RunCreation.RunCreationService">
53        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
54          contract="HeuristicLab.Services.OKB.RunCreation.IRunCreationService" />
55        <host>
56          <baseAddresses>
57            <add baseAddress="http://services.heuristiclab.com/OKB-3.3/RunCreationService.svc" />
58          </baseAddresses>
59        </host>
60      </service>
61    </services>
62    <bindings>
63      <netTcpBinding>
64        <binding name="DefaultNetBinding" receiveTimeout="00:20:00"
65          sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
66          maxReceivedMessageSize="2147483647" portSharingEnabled="true">
67          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
68            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
69          <security mode="TransportWithMessageCredential">
70            <message clientCredentialType="UserName" />
71          </security>
72        </binding>
73      </netTcpBinding>
74      <wsHttpBinding>
75        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
76          maxReceivedMessageSize="2147483647">
77          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
78            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
79          <security>
80            <message clientCredentialType="UserName" />
81          </security>
82        </binding>
83      </wsHttpBinding>
84    </bindings>
85    <behaviors>
86      <serviceBehaviors>
87        <behavior name="DefaultServiceBehavior">
88          <serviceMetadata httpGetEnabled="true" />
89          <serviceDebug includeExceptionDetailInFaults="true" />
90          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
91            roleProviderName="AspNetSqlRoleProvider" />
92          <serviceCredentials>
93            <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
94            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
95              membershipProviderName="AspNetSqlMembershipProvider" />
96          </serviceCredentials>
97        </behavior>
98      </serviceBehaviors>
99    </behaviors>
100  </system.serviceModel>
101
102  <startup>
103    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
104  </startup>
105</configuration>
Note: See TracBrowser for help on using the repository browser.