Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Services.Access/3.3/Web.config @ 17586

Last change on this file since 17586 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: 3.1 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  </connectionStrings>
6
7  <system.web>
8    <membership defaultProvider="AspNetSqlMembershipProvider">
9      <providers>
10        <clear />
11        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
12             requiresQuestionAndAnswer="false" passwordFormat="Hashed" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
13             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
14      </providers>
15    </membership>
16    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
17      <providers>
18        <clear />
19        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
20      </providers>
21    </roleManager>
22  </system.web>
23
24  <system.serviceModel>
25    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
26    <services>
27      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Access.AccessService">
28        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
29          contract="HeuristicLab.Services.Access.IAccessService" />
30        <host>
31          <baseAddresses>
32            <add baseAddress="http://services.heuristiclab.com/AccessService-3.3/AccessService.svc" />
33          </baseAddresses>
34        </host>
35      </service>
36    </services>
37    <behaviors>
38      <serviceBehaviors>
39        <behavior name="DefaultServiceBehavior">
40          <serviceMetadata httpGetEnabled="true" />
41          <serviceDebug includeExceptionDetailInFaults="true" />
42          <serviceCredentials>
43            <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
44            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
45              membershipProviderName="AspNetSqlMembershipProvider" />
46          </serviceCredentials>
47          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
48            roleProviderName="AspNetSqlRoleProvider" />
49        </behavior>
50      </serviceBehaviors>
51    </behaviors>
52    <bindings>
53      <wsHttpBinding>
54        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
55          maxReceivedMessageSize="2147483647">
56          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
57            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
58          <security>
59            <message clientCredentialType="UserName" />
60          </security>
61        </binding>
62      </wsHttpBinding>
63    </bindings>
64  </system.serviceModel>
65
66  <startup>
67    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
68  </startup>
69</configuration>
Note: See TracBrowser for help on using the repository browser.