- Timestamp:
- 01/15/13 15:50:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Web/Web.config
r8506 r9166 14 14 </trace> 15 15 <sources> 16 <source name="System.ServiceModel" 17 switchValue="Information, ActivityTracing" 18 propagateActivity="true" > 16 <source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true"> 19 17 <listeners> 20 <add name="xml" />18 <add name="xml" /> 21 19 </listeners> 22 20 </source> 23 21 <source name="System.ServiceModel.MessageLogging"> 24 22 <listeners> 25 <add name="xml" />23 <add name="xml" /> 26 24 </listeners> 27 25 </source> 28 <source name="myUserTraceSource" 29 switchValue="Information, ActivityTracing"> 26 <source name="myUserTraceSource" switchValue="Information, ActivityTracing"> 30 27 <listeners> 31 <add name="xml" />28 <add name="xml" /> 32 29 </listeners> 33 30 </source> 34 31 </sources> 35 32 <sharedListeners> 36 <add name="xml" 37 type="System.Diagnostics.XmlWriterTraceListener" 38 initializeData="C:\logs\Traces.svclog" /> 33 <add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\logs\Traces.svclog" /> 39 34 </sharedListeners> 40 35 </system.diagnostics> … … 42 37 43 38 <connectionStrings> 44 <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" 45 providerName="System.Data.SqlClient" /> 46 <add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet_eb6c1a930dad4e2e9eaf3dcd73e6f924;Integrated Security=True;MultipleActiveResultSets=True" 47 providerName="System.Data.SqlClient" /> 48 <add name="HeuristicLab.Authentication" connectionString="ADJUST_ME"/> 39 <add name="HeuristicLab.Authentication" connectionString="ADJUST_ME" /> 49 40 </connectionStrings> 50 41 <appSettings> … … 66 57 <forms loginUrl="~/Account/LogOn" timeout="2880" /> 67 58 </authentication> 68 <membership> 69 <providers> 70 <clear/> 71 <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"/> 59 <membership defaultProvider="AspNetSqlMembershipProvider"> 60 <providers> 61 <clear /> 62 <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" /> 63 <!-- add applicationName="MockupProvider" name="MockupMembershipProvider" type="HeuristicLab.Services.Optimization.ControllerService.Mockup.MockupMembershipProvider"/ --> 72 64 </providers> 73 65 </membership> … … 79 71 </providers> 80 72 </profile> 81 <roleManager enabled="true" >73 <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider"> 82 74 <providers> 83 75 <clear /> 84 <add connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" 85 name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />76 <add connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" /> 77 <!-- add applicationName="MockupProvider" name="MockupRoleProvider" type="HeuristicLab.Services.Optimization.ControllerService.Mockup.MockupRoleProvider" /--> 86 78 </providers> 87 79 </roleManager> … … 101 93 </providers> 102 94 </sessionState> 95 103 96 </system.web> 104 97 <system.webServer> … … 128 121 <system.serviceModel> 129 122 <diagnostics> 130 <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />123 <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" /> 131 124 </diagnostics> 132 125 <bindings> 133 126 <wsHttpBinding> 134 127 <binding name="WSHttpBinding_IControllerService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 135 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />128 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 136 129 <security mode="Message"> 137 <transport clientCredentialType="Certificate" />138 <message clientCredentialType="UserName" />130 <transport clientCredentialType="Certificate" /> 131 <message clientCredentialType="UserName" /> 139 132 </security> 140 133 </binding> … … 142 135 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 143 136 <security mode="Message"> 144 <transport clientCredentialType="Certificate" />145 <message clientCredentialType="UserName" />137 <transport clientCredentialType="Certificate" /> 138 <message clientCredentialType="UserName" /> 146 139 </security> 147 140 </binding> … … 152 145 <behavior name="ServiceBehaviour_IControllerService"> 153 146 <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> 154 <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />147 <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" /> 155 148 <!-- 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 --> 156 <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/> 157 <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/> 149 <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" /> 150 <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" /> 151 <!--serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MockupRoleProvider" /--> 158 152 <serviceCredentials> 159 <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/> 160 <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/> 153 <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" /> 154 <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" /> 155 <!--userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MockupMembershipProvider" /--> 161 156 </serviceCredentials> 162 <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />163 <serviceThrottling maxConcurrentCalls="100" />164 <dataContractSerializer maxItemsInObjectGraph="2147483647" />157 <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" /> 158 <serviceThrottling maxConcurrentCalls="100" /> 159 <dataContractSerializer maxItemsInObjectGraph="2147483647" /> 165 160 </behavior> 166 161 </serviceBehaviors> … … 172 167 </serviceCertificate> 173 168 </clientCredentials> 174 <dataContractSerializer maxItemsInObjectGraph="2147483647" />169 <dataContractSerializer maxItemsInObjectGraph="2147483647" /> 175 170 </behavior> 176 171 </endpointBehaviors> … … 178 173 <services> 179 174 <service behaviorConfiguration="ServiceBehaviour_IControllerService" name="HeuristicLab.Services.Optimization.ControllerService.PlaceholderControllerService"> 180 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />181 <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" name="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" />175 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" /> 176 <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" name="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" /> 182 177 </service> 183 178 </services> 184 179 <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> 185 180 <client> 186 <endpoint address="http://localhost:8080/ControllerService.svc" behaviorConfiguration="LocalCertValidation" 187 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" 188 contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_IControllerService"> 189 <identity> 190 <certificate encodedValue="ADJUST_ME" /> 191 </identity> 192 </endpoint> 193 <endpoint address="http://127.0.0.1:81/HiveService.svc" behaviorConfiguration="LocalCertValidation" 194 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService"> 195 <identity> 196 <certificate encodedValue="ADJUST_ME" /> 197 </identity> 198 </endpoint> 199 <!-- 200 <endpoint address="http://optimization.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation" 201 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService"> 202 <identity> 203 <certificate encodedValue="ADJUST_ME" /> 204 </identity> 205 </endpoint> 206 --> 181 182 183 <endpoint address="http://127.0.0.1:8080/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_Local_IControllerService"> 184 <identity> 185 <certificate encodedValue="ADJUST_ME" /> 186 </identity> 187 </endpoint> 188 189 <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"> 190 <identity> 191 <certificate encodedValue="ADJUST_ME" /> 192 </identity> 193 </endpoint> 194 195 196 <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"> 197 <identity> 198 <certificate encodedValue="ADJUST_ME" /> 199 </identity> 200 </endpoint> 201 202 <endpoint address="http://optimization1.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_Remote_IHiveService"> 203 <identity> 204 <certificate encodedValue="ADJUST_ME" /> 205 </identity> 206 </endpoint> 207 207 208 </client> 208 209 </system.serviceModel>
Note: See TracChangeset
for help on using the changeset viewer.