Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2522_RefactorPluginInfrastructure/HeuristicLab.Services.Access/3.3/Web.config @ 17712

Last change on this file since 17712 was 15973, checked in by gkronber, 6 years ago

#2522: merged trunk changes from r13402:15972 to branch resolving conflicts where necessary

File size: 3.1 KB
RevLine 
[15973]1<?xml version="1.0" encoding="utf-8"?>
[8040]2<configuration>
3  <connectionStrings>
[15973]4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
[8040]5  </connectionStrings>
[15973]6
[8040]7  <system.web>
[15973]8    <membership defaultProvider="AspNetSqlMembershipProvider">
[8040]9      <providers>
10        <clear />
[15973]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 />
[15973]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>
[15973]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" />
[15973]42          <serviceCredentials>
43            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
44            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
45              membershipProviderName="AspNetSqlMembershipProvider" />
[8040]46          </serviceCredentials>
47          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
[15973]48            roleProviderName="AspNetSqlRoleProvider" />
[8040]49        </behavior>
50      </serviceBehaviors>
51    </behaviors>
[15973]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
[15973]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.