Changeset 5799


Ignore:
Timestamp:
03/22/11 20:56:15 (11 years ago)
Author:
dkahn
Message:

#1447 Added custom membership provider to web config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config

    r5764 r5799  
    77
    88<configuration>
    9   <!--Implemented-->
     9  <!--Implemented
    1010  <connectionStrings>
    1111    <add name="HeuristicLab.Authentication"
    1212         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>   
    1313  </connectionStrings>
    14   <!--ImplementedEND-->
     14  ImplementedEND-->
    1515
    1616  <system.web>
     
    2626      <forms loginUrl="~/Account/LogOn" timeout="2880" />
    2727    </authentication>
    28 
    29     <!--<membership>
     28<!--
     29    <membership>
    3030      <providers>
    3131        <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"
     32        <add name="HLServiceMembershipProvider" type=" HLWebPluginHost.Lib.HLServiceMembershipProvider"
     33             enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
    3534             applicationName="/" />
    3635      </providers>
    37     </membership>-->
     36    </membership>
    3837
    3938    <profile>
     
    4342      </providers>
    4443    </profile>
    45 
     44-->
    4645    <!--<roleManager enabled="false">
    4746      <providers>
     
    6059      </namespaces>
    6160    </pages>
    62    <!--Implemented-->
    63         <membership defaultProvider="AspNetSqlMembershipProvider">
     61 
     62        <membership defaultProvider="HLServiceMembershipProvider">
    6463            <providers>
    6564              <clear/>
    66               <add name="AspNetSqlMembershipProvider"
    67                    type="System.Web.Security.SqlMembershipProvider"
    68                    connectionStringName="HeuristicLab.Authentication"
    69                    enablePasswordRetrieval="true"
    70                    enablePasswordReset="true"
    71                    requiresQuestionAndAnswer="false"
    72                    requiresUniqueEmail="false"
    73                    maxInvalidPasswordAttempts="5"
    74                    minRequiredPasswordLength="6"
    75                    minRequiredNonalphanumericCharacters="0"
    76                    passwordAttemptWindow="10"
    77                    passwordFormat="Clear"
     65              <add name="HLServiceMembershipProvider"
     66                   type="HLWebPluginHost.Lib.HLServiceMembershipProvider"
     67                   enablePasswordRetrieval="false"
     68                   enablePasswordReset="false"
    7869                   applicationName="HeuristicLab.Authentication" />
    7970            </providers>
    8071          </membership>
    81 
     72<!--
    8273          <roleManager enabled="true">
    8374            <providers>
     
    8677            </providers>
    8778          </roleManager>
     79-->
    8880
    89 <!--ImplementedEND--> 
    9081     
    9182   
Note: See TracChangeset for help on using the changeset viewer.