Free cookie consent management tool by TermsFeed Policy Generator

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

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

Worked on OKB user authentication (#1167)

File size: 5.1 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <connectionStrings>
4    <add name="HeuristicLab.Authentication"
5         connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
6    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString"
7         connectionString="Data Source=localhost;Initial Catalog=HeuristicLab.OKB;Integrated Security=SSPI"
8         providerName="System.Data.SqlClient" />
9  </connectionStrings>
10
11  <system.web>
12    <authentication mode="Forms" />
13    <compilation debug="true" targetFramework="4.0" />
14
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
25    <roleManager enabled="true">
26      <providers>
27        <clear/>
28        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
29      </providers>
30    </roleManager>
31  </system.web>
32
33  <system.serviceModel>
34    <bindings>
35      <netTcpBinding>
36        <binding name="LargeMessages" openTimeout="00:00:30" receiveTimeout="00:00:30" sendTimeout="00:00:30" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
37          <security mode="Message">
38            <message clientCredentialType="UserName"/>
39          </security>
40          <readerQuotas maxArrayLength="2147483647"/>
41          <reliableSession inactivityTimeout="00:00:30" enabled="false"/>
42        </binding>
43      </netTcpBinding>
44    </bindings>
45
46    <client/>
47
48    <behaviors>
49      <serviceBehaviors>
50        <behavior name="OKBServiceBehaviour">
51          <serviceMetadata httpGetEnabled="false"/>
52          <serviceDebug includeExceptionDetailInFaults="true"/>
53          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
54                                roleProviderName="AspNetSqlRoleProvider" />
55          <serviceCredentials>
56            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
57            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
58                                    membershipProviderName="AspNetSqlMembershipProvider"/>
59          </serviceCredentials>
60        </behavior>
61      </serviceBehaviors>
62    </behaviors>
63
64    <services>
65      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.RunnerService">
66        <endpoint address="net.tcp://localhost:8001/OKB/Runner.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
67        <endpoint address="net.tcp://localhost:8001/OKB/Runner.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IRunnerService"/>
68      </service>
69      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.AdminService">
70        <endpoint address="net.tcp://localhost:8001/OKB/Admin.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
71        <endpoint address="net.tcp://localhost:8001/OKB/Admin.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IAdminService"/>
72      </service>
73      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.TableService">
74        <endpoint address="net.tcp://localhost:8001/OKB/Table.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
75        <endpoint address="net.tcp://localhost:8001/OKB/Table.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.ITableService"/>
76      </service>
77      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.QueryService">
78        <endpoint address="net.tcp://localhost:8001/OKB/Query.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
79        <endpoint address="net.tcp://localhost:8001/OKB/Query.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IQueryService"/>
80      </service>
81      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.DataService">
82        <endpoint address="net.tcp://localhost:8001/OKB/Data.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
83        <endpoint address="net.tcp://localhost:8001/OKB/Data.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IDataService"/>
84      </service>
85    </services>
86  </system.serviceModel>
87<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
Note: See TracBrowser for help on using the repository browser.