1 | <?xml version="1.0"?>
|
---|
2 | <configuration>
|
---|
3 |
|
---|
4 | <connectionStrings>
|
---|
5 | <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
|
---|
6 | </connectionStrings>
|
---|
7 |
|
---|
8 | <system.web>
|
---|
9 | <compilation debug="true" targetFramework="4.0" />
|
---|
10 | <membership>
|
---|
11 | <providers>
|
---|
12 | <clear/>
|
---|
13 | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/>
|
---|
14 | </providers>
|
---|
15 | </membership>
|
---|
16 | <roleManager enabled="true">
|
---|
17 | <providers>
|
---|
18 | <clear/>
|
---|
19 | <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
|
---|
20 | </providers>
|
---|
21 | </roleManager>
|
---|
22 | <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
|
---|
23 | </system.web>
|
---|
24 |
|
---|
25 | <system.serviceModel>
|
---|
26 | <diagnostics>
|
---|
27 | <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
|
---|
28 | </diagnostics>
|
---|
29 |
|
---|
30 | <bindings>
|
---|
31 | <wsHttpBinding>
|
---|
32 | <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00"
|
---|
33 | sendTimeout="00:10:00" maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600">
|
---|
34 | <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" />
|
---|
35 | <security mode="Message">
|
---|
36 | <transport clientCredentialType="Certificate"/>
|
---|
37 | <message clientCredentialType="UserName" />
|
---|
38 | </security>
|
---|
39 | </binding>
|
---|
40 | </wsHttpBinding>
|
---|
41 | </bindings>
|
---|
42 |
|
---|
43 | <behaviors>
|
---|
44 | <serviceBehaviors>
|
---|
45 | <behavior name="ServiceBehaviour_IHiveService">
|
---|
46 | <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
|
---|
47 | <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
|
---|
48 | <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
|
---|
49 | <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
|
---|
50 | <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
|
---|
51 | <serviceCredentials>
|
---|
52 | <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
|
---|
53 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
54 | </serviceCredentials>
|
---|
55 | <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
|
---|
56 | <serviceThrottling maxConcurrentCalls="100" />
|
---|
57 | </behavior>
|
---|
58 | </serviceBehaviors>
|
---|
59 | </behaviors>
|
---|
60 |
|
---|
61 | <services>
|
---|
62 | <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
|
---|
63 | <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
|
---|
64 | <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService" />
|
---|
65 | </service>
|
---|
66 | </services>
|
---|
67 |
|
---|
68 | <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
|
---|
69 | </system.serviceModel>
|
---|
70 |
|
---|
71 | <system.webServer>
|
---|
72 | <!--<modules runAllManagedModulesForAllRequests="true">
|
---|
73 | <add name="HiveServerModule" type="HeuristicLab.Services.Hive.IISModules.HiveServerModule"/>
|
---|
74 | </modules>-->
|
---|
75 | <directoryBrowse enabled="true"/>
|
---|
76 | </system.webServer>
|
---|
77 |
|
---|
78 | </configuration>
|
---|