Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.Access/3.3/Web.config @ 15134

Last change on this file since 15134 was 14748, checked in by jkarder, 8 years ago

#2743: cleaned up

  • updated app configs
  • updated settings
File size: 3.1 KB
RevLine 
[14748]1<?xml version="1.0" encoding="utf-8"?>
[8040]2<configuration>
3  <connectionStrings>
[14748]4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
[8040]5  </connectionStrings>
[14748]6
[8040]7  <system.web>
[14748]8    <membership defaultProvider="AspNetSqlMembershipProvider">
[8040]9      <providers>
10        <clear />
[14748]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" />
[8040]14      </providers>
15    </membership>
16    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
17      <providers>
18        <clear />
[14748]19        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
[8040]20      </providers>
21    </roleManager>
22  </system.web>
23
24  <system.serviceModel>
[14748]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://localhost:8000/AccessService-3.3/AccessService.svc" />
33          </baseAddresses>
34        </host>
35      </service>
36    </services>
[8040]37    <behaviors>
38      <serviceBehaviors>
39        <behavior name="DefaultServiceBehavior">
40          <serviceMetadata httpGetEnabled="true" />
41          <serviceDebug includeExceptionDetailInFaults="true" />
[14748]42          <serviceCredentials>
43            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
44            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
45              membershipProviderName="AspNetSqlMembershipProvider" />
[8040]46          </serviceCredentials>
47          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
[14748]48            roleProviderName="AspNetSqlRoleProvider" />
[8040]49        </behavior>
50      </serviceBehaviors>
51    </behaviors>
[14748]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>
[8040]65
[14748]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.