Changeset 4729


Ignore:
Timestamp:
11/06/10 12:44:27 (9 years ago)
Author:
wtollsch
Message:

#1198 Fixed naming and added authentication against HL

Location:
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Account/ChangePassword.aspx

    r4604 r4729  
    1 <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HeuristicLabWeb.PluginHost.Models.ChangePasswordModel>" %>
     1<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HLWebPluginHost.Models.ChangePasswordModel>" %>
    22
    33<asp:Content ID="changePasswordTitle" ContentPlaceHolderID="TitleContent" runat="server">
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Account/LogOn.aspx

    r4604 r4729  
    1 <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HeuristicLabWeb.PluginHost.Models.LogOnModel>" %>
     1<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HLWebPluginHost.Models.LogOnModel>" %>
    22
    33<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
     
    1919                <div class="editor-label">
    2020                    <%: Html.LabelFor(m => m.UserName) %>
    21                 </div>
     21                </div> 
    2222                <div class="editor-field">
    2323                    <%: Html.TextBoxFor(m => m.UserName) %>
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Account/Register.aspx

    r4604 r4729  
    1 <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HeuristicLabWeb.PluginHost.Models.RegisterModel>" %>
     1<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HLWebPluginHost.Models.RegisterModel>" %>
    22
    33<asp:Content ID="registerTitle" ContentPlaceHolderID="TitleContent" runat="server">
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config

    r4604 r4729  
    77
    88<configuration>
     9  <!--Implemented-->
    910  <connectionStrings>
    10     <add name="ApplicationServices"
    11          connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
    12          providerName="System.Data.SqlClient" />
     11    <add name="HeuristicLab.Authentication"
     12         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
    1313  </connectionStrings>
     14  <!--ImplementedEND-->
    1415
    1516  <system.web>
     
    2627    </authentication>
    2728
    28     <membership>
     29    <!--<membership>
    2930      <providers>
    3031        <clear/>
     
    3435             applicationName="/" />
    3536      </providers>
    36     </membership>
     37    </membership>-->
    3738
    3839    <profile>
     
    4344    </profile>
    4445
    45     <roleManager enabled="false">
     46    <!--<roleManager enabled="false">
    4647      <providers>
    4748        <clear/>
     
    4950        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
    5051      </providers>
    51     </roleManager>
     52    </roleManager>-->
    5253
    5354    <pages>
     
    5960      </namespaces>
    6061    </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   
    6183  </system.web>
    6284
Note: See TracChangeset for help on using the changeset viewer.