Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 4729 was 4729, checked in by wtollsch, 13 years ago

#1198 Fixed naming and added authentication against HL

File size: 4.0 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</configuration>
99
Note: See TracBrowser for help on using the repository browser.