Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4013


Ignore:
Timestamp:
07/07/10 22:00:59 (14 years ago)
Author:
jwolfing
Message:

Add comments to following methods, initialize, changepassword (#1079)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Services.Authentication Prototype/Service/Provider/HeuristicLabMembershipProvider.cs

    r4009 r4013  
    7878    #endregion
    7979
     80    /// <summary>
     81    /// this is the methode to initialize all important and needed
     82    /// variables and settings
     83    /// The most settings will be read from the web.config
     84    /// </summary>
     85    /// <param name="name"></param>
     86    /// <param name="config"></param>
     87    /// <returns></returns>
     88
    8089    public override void Initialize(string name, NameValueCollection config) {
    8190      //
     
    126135    }
    127136
     137
     138    /// <summary>
     139    /// this mehtode change the password of an existent user
     140    /// the methode look for db connection and connect to
     141    /// such db if it possible
     142    /// Also neccessary requirements of password complexity is used
     143    /// by this methode
     144    /// </summary>
     145    /// <param name="username"></param>
     146    /// <param name="oldPassword"></param>
     147    /// <param name="newPassword"></param>
     148    /// <returns>
     149    /// return true if password is changed, or false if it is not able
     150    /// to set the password
     151    /// </returns>
    128152    public override bool ChangePassword(string username, string oldPassword, string newPassword) {
    129153      using (DataClassesDataContext db = DatabaseUtil.createDataClassesDataContext()) {
Note: See TracChangeset for help on using the changeset viewer.