Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.OKB/3.3/app.config @ 10159

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

#1174 integrated OKB services parts into trunk

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