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