Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.OKB/3.3/web.config @ 8049

Last change on this file since 8049 was 8049, checked in by ascheibe, 12 years ago

#1174 integrated OKB services parts into trunk

File size: 4.5 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <connectionStrings>
4    <clear />
5    <add name="HeuristicLab.Authentication"
6           connectionString="data source=.;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
7    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString"
8         connectionString="Data Source=.;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB" />
9  </connectionStrings>
10
11  <system.web>
12    <authentication mode="Forms" />
13    <compilation debug="true" targetFramework="4.0" />
14    <customErrors mode="Off"/>
15    <membership>
16      <providers>
17        <clear />
18        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
19             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
20             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
21             applicationName="HeuristicLab.Authentication" />
22      </providers>
23    </membership>
24    <roleManager enabled="true">
25      <providers>
26        <clear />
27        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication"
28             applicationName="HeuristicLab.Authentication" />
29      </providers>
30    </roleManager>
31  </system.web>
32
33  <system.serviceModel>
34    <bindings>
35      <mexHttpBinding>
36        <binding name="DefaultMexHttpBinding" />
37      </mexHttpBinding>
38      <wsHttpBinding>
39        <binding name="DefaultWsHttpBinding" maxReceivedMessageSize="200000000">
40          <readerQuotas maxArrayLength="200000000" maxBytesPerRead="200000000" />
41          <security mode="Message">
42            <message clientCredentialType="UserName" />
43          </security>
44        </binding>
45      </wsHttpBinding>
46    </bindings>
47
48    <behaviors>
49      <serviceBehaviors>
50        <behavior name="DefaultServiceBehavior">
51          <serviceMetadata httpGetEnabled="true" />
52          <serviceDebug includeExceptionDetailInFaults="true" />
53          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
54          <serviceCredentials>
55            <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
56            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
57          </serviceCredentials>
58        </behavior>
59      </serviceBehaviors>
60    </behaviors>
61
62    <services>
63
64      <service name="HeuristicLab.Services.OKB.Administration.AdministrationService" behaviorConfiguration="DefaultServiceBehavior">
65        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit" />
66        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.Administration.IAdministrationService" listenUriMode="Explicit" />
67      </service>
68
69      <service name="HeuristicLab.Services.OKB.RunCreation.RunCreationService" behaviorConfiguration="DefaultServiceBehavior">
70        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit" />
71        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.RunCreation.IRunCreationService" listenUriMode="Explicit" />
72      </service>
73
74      <service name="HeuristicLab.Services.OKB.Query.QueryService" behaviorConfiguration="DefaultServiceBehavior">
75        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit" />
76        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.Query.IQueryService" listenUriMode="Explicit" />
77      </service>
78
79    </services>
80
81    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
82  </system.serviceModel>
83
84  <system.webServer>
85    <modules runAllManagedModulesForAllRequests="true" />
86  </system.webServer>
87
88  <startup>
89    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
90  </startup>
91</configuration>
Note: See TracBrowser for help on using the repository browser.