Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Web.config @ 9371

Last change on this file since 9371 was 9371, checked in by spimming, 10 years ago

#1888:
*Marked necessary configuration steps with ADJUST_ME

File size: 14.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  For more information on how to configure your ASP.NET application, please visit
4  http://go.microsoft.com/fwlink/?LinkId=152368
5  -->
6<configuration>
7  <system.diagnostics>
8    <trace>
9      <listeners>
10        <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
11          <filter type="" />
12        </add>
13      </listeners>
14    </trace>
15    <sources>
16      <source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true">
17        <listeners>
18          <add name="xml" />
19        </listeners>
20      </source>
21      <source name="System.ServiceModel.MessageLogging">
22        <listeners>
23          <add name="xml" />
24        </listeners>
25      </source>
26      <source name="myUserTraceSource" switchValue="Information, ActivityTracing">
27        <listeners>
28          <add name="xml" />
29        </listeners>
30      </source>
31    </sources>
32    <sharedListeners>
33      <add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\logs\Traces.svclog" />
34    </sharedListeners>
35  </system.diagnostics>
36 
37 
38  <connectionStrings>
39    <add name="HeuristicLab.Authentication" connectionString="Server=ADJUST_ME,1433;Database=HeuristicLab.Authentication;User ID=ADJUST_ME;Password=ADJUST_ME;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" />
40  </connectionStrings>
41  <appSettings>
42    <add key="webpages:Version" value="1.0.0.0" />
43    <add key="ClientValidationEnabled" value="true" />
44    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
45    <add key="scenarioPath" value="C:\dev\Heuristiclab\branches\OaaS\HeuristicLab.Services.Optimization.ControllerService.Tests\mappings" />
46    <add key="scenarioSchemaPath" value="C:\dev\Heuristiclab\branches\OaaS\HeuristicLab.Services.Optimization.ControllerService.Tests\mappings\scenario.xsd" />
47    <add key="HiveEndpointName" value="WSHttpBinding_WebLocal_IHiveService" />
48    <add key="ControllerEndpointName" value="WSHttpBinding_WebLocal_IControllerService" />
49  </appSettings>
50  <system.web>
51    <compilation debug="true" targetFramework="4.0">
52      <assemblies>
53        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
54        <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
55        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
56        <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
57        <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
58      </assemblies>
59    </compilation>
60    <authentication mode="Forms">
61      <forms loginUrl="~/Account/LogOn" timeout="2880" />
62    </authentication>
63    <membership defaultProvider="AspNetSqlMembershipProvider">
64      <providers>
65        <clear />
66        <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" />
67        <!-- add applicationName="MockupProvider" name="MockupMembershipProvider" type="HeuristicLab.Services.Optimization.ControllerService.Mockup.MockupMembershipProvider"/ -->
68      </providers>
69    </membership>
70    <profile defaultProvider="DefaultProfileProvider">
71      <providers>
72        <clear />
73        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
74        <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
75      </providers>
76    </profile>
77    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
78      <providers>
79        <clear />
80        <add connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />
81        <!-- add applicationName="MockupProvider" name="MockupRoleProvider" type="HeuristicLab.Services.Optimization.ControllerService.Mockup.MockupRoleProvider" /-->
82      </providers>
83    </roleManager>
84    <pages>
85      <namespaces>
86        <add namespace="System.Web.Helpers" />
87        <add namespace="System.Web.Mvc" />
88        <add namespace="System.Web.Mvc.Ajax" />
89        <add namespace="System.Web.Mvc.Html" />
90        <add namespace="System.Web.Routing" />
91        <add namespace="System.Web.WebPages" />
92      </namespaces>
93    </pages>
94    <sessionState mode="InProc" customProvider="DefaultSessionProvider">
95      <providers>
96        <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
97      </providers>
98    </sessionState>
99        <machineKey decryption="AES" decryptionKey="F7FA540B4DFD82E5BB196B95D15FF81F0F5E8733888A08BDBA49B60D9A734A86" validation="SHA1" validationKey="0F5E8733888A08BDBA49B60D9A734A86413B23059DE62168764FF0DCE537184F0535D5D9AD66DEDC0F5E8733888A08BDBA49B60D9A734A86413B230597DC1ABF" />
100  </system.web>
101  <system.webServer>
102    <validation validateIntegratedModeConfiguration="false" />
103    <modules runAllManagedModulesForAllRequests="true" />
104  </system.webServer>
105  <runtime>
106    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
107      <dependentAssembly>
108        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
109        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
110      </dependentAssembly>
111    </assemblyBinding>
112  </runtime>
113  <!--system.serviceModel>
114    <behaviors>
115      <serviceBehaviors>
116        <behavior name="">
117          <serviceMetadata httpGetEnabled="true" />
118          <serviceDebug includeExceptionDetailInFaults="false" />
119        </behavior>
120      </serviceBehaviors>
121    </behaviors>
122    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
123  </system.serviceModel-->
124
125  <system.serviceModel>
126    <diagnostics>
127      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
128    </diagnostics>
129    <bindings>
130      <wsHttpBinding>
131        <binding name="WSHttpBinding_IControllerService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
132          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
133          <security mode="Message">
134            <transport clientCredentialType="Certificate" />
135            <message clientCredentialType="UserName" />
136          </security>
137        </binding>
138        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
139          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
140          <security mode="Message">
141            <transport clientCredentialType="Certificate" />
142            <message clientCredentialType="UserName" />
143          </security>
144        </binding>
145      </wsHttpBinding>
146    </bindings>
147    <behaviors>
148      <serviceBehaviors>
149        <behavior name="ServiceBehaviour_IControllerService">
150          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
151          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
152          <!-- 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 -->
153          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
154          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
155          <!--serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MockupRoleProvider" /-->
156          <serviceCredentials>
157            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
158            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
159            <!--userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MockupMembershipProvider" /-->
160          </serviceCredentials>
161          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
162          <serviceThrottling maxConcurrentCalls="100" />
163          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
164        </behavior>
165      </serviceBehaviors>
166      <endpointBehaviors>
167        <behavior name="LocalCertValidation">
168          <clientCredentials>
169            <serviceCertificate>
170              <authentication certificateValidationMode="None" />
171            </serviceCertificate>
172          </clientCredentials>
173          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
174        </behavior>
175      </endpointBehaviors>
176    </behaviors>
177    <services>
178      <service behaviorConfiguration="ServiceBehaviour_IControllerService" name="HeuristicLab.Services.Optimization.ControllerService.PlaceholderControllerService">
179        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
180        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" name="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" />
181      </service>
182    </services>
183    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
184    <client>
185      <endpoint address="http://127.0.0.1:8082/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_Local_IControllerService">
186        <identity>
187          <certificate encodedValue="ADJUST_ME" />
188        </identity>
189      </endpoint>
190     
191      <endpoint address="http://127.0.0.1:81/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_Local_IHiveService">
192        <identity>
193          <certificate encodedValue="ADJUST_ME" />
194        </identity>
195      </endpoint>
196
197      <endpoint address="http://127.0.0.1:2092/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_WebLocal_IControllerService">
198        <identity>
199          <certificate encodedValue="ADJUST_ME" />
200        </identity>
201      </endpoint>
202
203      <endpoint address="http://127.0.0.1:2092/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_WebLocal_IHiveService">
204        <identity>
205          <certificate encodedValue="ADJUST_ME" />
206        </identity>
207      </endpoint>
208     
209     
210      <endpoint address="http://optimization1.cloudapp.net:8080/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_Remote_IControllerService">
211        <identity>
212          <certificate encodedValue="ADJUST_ME" />
213        </identity>
214      </endpoint>
215     
216      <endpoint address="http://optimization1.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_Remote_IHiveService">
217        <identity>
218          <certificate encodedValue="ADJUST_ME" />
219        </identity>
220      </endpoint>
221     
222      <!--
223      <endpoint address="http://optimization.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation"
224         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService">
225        <identity>
226          <certificate encodedValue="AwAAAAEAAAAUAAAADzsDXayAbGN7jnpbyVfY0wz9YFcgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhCzetYpS2a8okHn43VcHxP0MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTExMTEwNDE1NTQxN1oXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCSYyb95Mu+uX+bV/qP9GQAo3QVuolC3JSBYCPb0hwDzt1Noef8m3W9C6oBwHp1vFrhYCjgcSKkq/6Ahz1FTInvfgM0ryC+wuNU3Qf8wnPBKQWy1XzfNgooJXfZVj2aJBhtfPCduf0i20bKLq6Vln3x7LJ2fQJl726PEydisDsVPQIDAQABo0kwRzBFBgNVHQEEPjA8gBBOTq0016GUpf8I0+rSZ7SBoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghCzetYpS2a8okHn43VcHxP0MAkGBSsOAwIdBQADgYEAYUKhADqju3dh+9Gp47yDnOiJ/VIBa2uc4TOntXb5pgesS6vwd8assO8fmcT0D2IOJ+V4Q0H3Q8z3AqE9FoPrdj6/1CX+aQOSPwTWhs5AHRk6SvDLDaQtJPTNwldlyxmVTSZFq1wqLaRFCZ1U3furTOmHVOnIotIp+zm63bqs5U0=" />
227        </identity>
228      </endpoint>
229      -->
230    </client>
231  </system.serviceModel>
232</configuration>
Note: See TracBrowser for help on using the repository browser.