Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 4375 was 4313, checked in by swagner, 14 years ago

Worked on OKB user authentication (#1167)

File size: 6.4 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    <membership>
12      <providers>
13        <clear />
14        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
15             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
16             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
17             applicationName="HeuristicLab.Authentication" />
18      </providers>
19    </membership>
20    <roleManager enabled="true">
21      <providers>
22        <clear />
23        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication"
24             applicationName="HeuristicLab.Authentication" />
25      </providers>
26    </roleManager>
27  </system.web>
28
29  <system.serviceModel>
30    <bindings>
31      <mexHttpBinding>
32        <binding name="DefaultMexHttpBinding" />
33      </mexHttpBinding>
34      <wsHttpBinding>
35        <binding name="DefaultWsHttpBinding">
36          <security mode="Message">
37            <message clientCredentialType="UserName" />
38          </security>
39        </binding>
40      </wsHttpBinding>
41      <netTcpBinding>
42        <binding name="DefaultNetTcpBinding" openTimeout="00:00:30" receiveTimeout="00:00:30" sendTimeout="00:00:30" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
43          <security mode="Message">
44            <message clientCredentialType="UserName" />
45          </security>
46          <readerQuotas maxArrayLength="2147483647" />
47          <reliableSession inactivityTimeout="00:00:30" enabled="false" />
48        </binding>
49      </netTcpBinding>
50    </bindings>
51
52    <behaviors>
53      <serviceBehaviors>
54        <behavior name="DefaultServiceBehavior">
55          <serviceMetadata httpGetEnabled="true" />
56          <serviceDebug includeExceptionDetailInFaults="true" />
57          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
58          <serviceCredentials>
59            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
60            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
61          </serviceCredentials>
62        </behavior>
63      </serviceBehaviors>
64    </behaviors>
65
66    <services>
67      <service name="HeuristicLab.Services.OKB.AdminService" behaviorConfiguration="DefaultServiceBehavior">
68        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
69        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IAdminService" />
70        <host>
71          <baseAddresses>
72            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/AdminService" />
73            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/AdminService" />
74          </baseAddresses>
75        </host>
76      </service>
77
78      <service name="HeuristicLab.Services.OKB.TableService" behaviorConfiguration="DefaultServiceBehavior">
79        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
80        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.ITableService" />
81        <host>
82          <baseAddresses>
83            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/TableService" />
84            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/TableService" />
85          </baseAddresses>
86        </host>
87      </service>
88
89      <service name="HeuristicLab.Services.OKB.DataService" behaviorConfiguration="DefaultServiceBehavior">
90        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
91        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IDataService" />
92        <host>
93          <baseAddresses>
94            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/DataService" />
95            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/DataService" />
96          </baseAddresses>
97        </host>
98      </service>
99
100      <service name="HeuristicLab.Services.OKB.RunnerService" behaviorConfiguration="DefaultServiceBehavior">
101        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
102        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IRunnerService" />
103        <host>
104          <baseAddresses>
105            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/RunnerService" />
106            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/RunnerService" />
107          </baseAddresses>
108        </host>
109      </service>
110
111      <service name="HeuristicLab.Services.OKB.QueryService" behaviorConfiguration="DefaultServiceBehavior">
112        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
113        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IQueryService" />
114        <host>
115          <baseAddresses>
116            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/QueryService" />
117            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/QueryService" />
118          </baseAddresses>
119        </host>
120      </service>
121    </services>
122  </system.serviceModel>
123
124  <startup>
125    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
126  </startup>
127</configuration>
Note: See TracBrowser for help on using the repository browser.