source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config @ 4736

Last change on this file since 4736 was 4736, checked in by wtollsch, 9 years ago

#1198 HLWebPluginHost login to authentication database

File size: 6.2 KB
Line 
1<?xml version="1.0"?>
2
3<!--
4  For more information on how to configure your ASP.NET application, please visit
5  http://go.microsoft.com/fwlink/?LinkId=152368
6  -->
7
8<configuration>
9  <!--Implemented-->
10  <connectionStrings>
11    <add name="HeuristicLab.Authentication"
12         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
13  </connectionStrings>
14  <!--ImplementedEND-->
15
16  <system.web>
17    <compilation debug="true" targetFramework="4.0">
18      <assemblies>
19        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
20        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
21        <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
22      </assemblies>
23    </compilation>
24
25    <authentication mode="Forms">
26      <forms loginUrl="~/Account/LogOn" timeout="2880" />
27    </authentication>
28
29    <!--<membership>
30      <providers>
31        <clear/>
32        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
33             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
34             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
35             applicationName="/" />
36      </providers>
37    </membership>-->
38
39    <profile>
40      <providers>
41        <clear/>
42        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
43      </providers>
44    </profile>
45
46    <!--<roleManager enabled="false">
47      <providers>
48        <clear/>
49        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
50        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
51      </providers>
52    </roleManager>-->
53
54    <pages>
55      <namespaces>
56        <add namespace="System.Web.Mvc" />
57        <add namespace="System.Web.Mvc.Ajax" />
58        <add namespace="System.Web.Mvc.Html" />
59        <add namespace="System.Web.Routing" />
60      </namespaces>
61    </pages>
62   <!--Implemented-->
63        <membership defaultProvider="AspNetSqlMembershipProvider">
64            <providers>
65              <clear/>
66              <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
67                   enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
68                   maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
69                   applicationName="HeuristicLab.Authentication" />
70            </providers>
71          </membership>
72
73          <roleManager enabled="true">
74            <providers>
75              <clear/>
76              <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
77            </providers>
78          </roleManager>
79
80<!--ImplementedEND--> 
81     
82   
83  </system.web>
84
85  <system.webServer>
86    <validation validateIntegratedModeConfiguration="false"/>
87    <modules runAllManagedModulesForAllRequests="true"/>
88  </system.webServer>
89
90  <runtime>
91    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
92      <dependentAssembly>
93        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
94        <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
95      </dependentAssembly>
96    </assemblyBinding>
97  </runtime>
98  <system.serviceModel>
99    <bindings>
100      <wsHttpBinding>
101        <binding name="WSHttpBinding_IOKBService" closeTimeout="00:01:00"
102          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
103          bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
104          maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
105          textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
106          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
107            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
108          <reliableSession ordered="true" inactivityTimeout="00:10:00"
109            enabled="false" />
110          <security mode="Message">
111            <transport clientCredentialType="Windows" proxyCredentialType="None"
112              realm="" />
113            <message clientCredentialType="UserName" negotiateServiceCredential="true"
114              algorithmSuite="Default" />
115          </security>
116        </binding>
117      </wsHttpBinding>
118    </bindings>
119    <client>
120      <endpoint address="http://localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService"
121        binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IOKBService"
122        contract="OKBService.IOKBService" name="WSHttpBinding_IOKBService">
123        <identity>
124          <certificate encodedValue="AwAAAAEAAAAUAAAAIQrvmocYcMi5fmvHzIyVXAYioh8gAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhB/K4IUpf//oE5Y7z4eayB9MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDkyNTExNDY1N1oXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtTYRDoRxGMo6KzVypLUKzMv6NbGgabF1PpORsk59JyT/W3bw6DDVAmXkxKEYyunIRHTyQp1/o9Or1n/lAVe0DyQYYvRrlVWn16kYbBwBG/5op3urgUo456WTfMvpezvUpII+U6p5lM2nJlCwLSVplbzbWg0Q45l813+9mXqfyPQIDAQABo0kwRzBFBgNVHQEEPjA8gBC9NBW28XBwPiaJJgiOU6W9oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghB/K4IUpf//oE5Y7z4eayB9MAkGBSsOAwIdBQADgYEAdSi0jtQ/54Lqz5lWKk9EzTVImUn6gppz8JQGjo0lPa4PrsLplk2jK8Z7esgMLr3VqQPIgb92/ekrDMRttMi9MDgrSWbOPKjINvyC4mMK2KgfgHAfUQM8kH223GReUUzwF99FG8HhzoqrUMIlmCvrf5EZ19FBPEygFNOew0jhiHY=" />
125        </identity>
126      </endpoint>
127    </client>
128  </system.serviceModel>
129</configuration>
130
Note: See TracBrowser for help on using the repository browser.