Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/12/10 19:51:48 (14 years ago)
Author:
wtollsch
Message:

#1198 Membership get user password as plain text

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

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Controllers/ServicePrototypeController.cs

    r4784 r4786  
    2222            sc.ClientCredentials.UserName.Password = Membership.GetUser().GetPassword();
    2323            sc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None;
     24            //read algorithm class entries
     25            Debug.WriteLine("algorithm class entries");
    2426            OKBService.AlgorithmClass[] ac = sc.GetAlgorithmClasses();
    2527            foreach (OKBService.AlgorithmClass i in ac) {
     
    2729            }
    2830
     31            //read problem class entries
     32            Debug.WriteLine("problem class entries");
     33            OKBService.ProblemClass[] pc = sc.GetProblemClasses();
     34            foreach (OKBService.ProblemClass i in pc) {
     35                Debug.WriteLine(i.Name);
     36            }
    2937            sc.Close();
    3038            return View();
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config

    r4736 r4786  
    1010  <connectionStrings>
    1111    <add name="HeuristicLab.Authentication"
    12          connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
     12         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>   
    1313  </connectionStrings>
    1414  <!--ImplementedEND-->
     
    6464            <providers>
    6565              <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"
     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"
    6978                   applicationName="HeuristicLab.Authentication" />
    7079            </providers>
Note: See TracChangeset for help on using the changeset viewer.