Free cookie consent management tool by TermsFeed Policy Generator

source: branches/GP-MoveOperators/HeuristicLab.Services.Access/3.3/Web.config @ 9921

Last change on this file since 9921 was 8040, checked in by ascheibe, 12 years ago

#1648 integrated server parts of the access service into trunk

File size: 3.9 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <connectionStrings>
4  <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
5  </connectionStrings>
6  <system.web>
7    <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="20">
8      <providers>
9        <clear />
10        <add name="AspNetSqlMemberShipProvider"
11              type="System.Web.Security.SqlMembershipProvider"
12              connectionStringName="HeuristicLab.Authentication"
13              enablePasswordRetrieval="false"
14              enablePasswordReset="true"
15              requiresQuestionAndAnswer="false"
16              passwordFormat="Hashed"
17              applicationName="HeuristicLab.Authentication"
18              requiresUniqueEmail="false"
19              minRequiredPasswordLength="1"
20              minRequiredNonalphanumericCharacters="0"
21              maxInvalidPasswordAttempts="50" />
22      </providers>
23    </membership>
24    <authentication mode="Windows" />
25    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
26      <providers>
27        <clear />
28        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
29             connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
30      </providers>
31    </roleManager>
32  </system.web>
33
34  <!-- When deploying the service library project, the content of the config file must be added to the host's
35  app.config file. System.Configuration does not support config files for libraries. -->
36  <system.serviceModel>
37    <bindings>
38      <wsHttpBinding>
39        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
40          <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
41          <security mode="Message">
42            <message clientCredentialType="UserName" />
43          </security>
44        </binding>
45      </wsHttpBinding>
46      <mexHttpBinding>
47        <binding name="DefaultMexHttpBinding" />
48      </mexHttpBinding>
49    </bindings>
50
51    <diagnostics performanceCounters="Default">
52      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
53    </diagnostics>
54
55    <behaviors>
56      <endpointBehaviors>
57        <behavior name="DefaultEndpointBehavior">
58          <dataContractSerializer maxItemsInObjectGraph="1000000" />
59        </behavior>
60      </endpointBehaviors>
61
62      <serviceBehaviors>
63        <behavior name="DefaultServiceBehavior">
64          <serviceMetadata httpGetEnabled="true" />
65          <serviceDebug includeExceptionDetailInFaults="true" />
66          <serviceCredentials>           
67            <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
68            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />         
69          </serviceCredentials>
70          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
71                                roleProviderName="AspNetSqlRoleProvider" />
72        </behavior>
73      </serviceBehaviors>
74    </behaviors>
75
76    <services>
77      <service name="HeuristicLab.Services.Access.AccessService" behaviorConfiguration="DefaultServiceBehavior">
78        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
79        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
80                  contract="HeuristicLab.Services.Access.IAccessService" />       
81      </service>
82    </services>
83  </system.serviceModel>
84</configuration>
Note: See TracBrowser for help on using the repository browser.