Changeset 3966
- Timestamp:
- 06/26/10 16:11:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Service/Provider/HeuristicLabMembershipProvider.cs
r3965 r3966 14 14 class HeuristicLabMembershipProvider : MembershipProvider { 15 15 16 #region variables 17 16 18 private string pApplicationName; 17 19 private bool pEnablePasswordReset; … … 24 26 private MembershipPasswordFormat pPasswordFormat = MembershipPasswordFormat.Clear; 25 27 28 #endregion 29 30 #region properties 31 32 public override string ApplicationName { 33 get { return pApplicationName; } 34 set { pApplicationName = value; } 35 } 36 37 public override bool EnablePasswordReset { 38 get { return pEnablePasswordReset; } 39 } 40 41 public override bool EnablePasswordRetrieval { 42 get { return pEnablePasswordRetrieval; } 43 } 44 45 public override int MaxInvalidPasswordAttempts { 46 get { return pMaxInvalidPasswordAttempts; } 47 } 48 49 public override int MinRequiredNonAlphanumericCharacters { 50 get { return 0; } 51 } 52 53 public override int MinRequiredPasswordLength { 54 get { return pMinRequiredPasswordLength; } 55 } 56 57 public override int PasswordAttemptWindow { 58 get { return pPasswordAttemptWindow; } 59 } 60 61 public override MembershipPasswordFormat PasswordFormat { 62 get { return pPasswordFormat; } 63 } 64 65 public override string PasswordStrengthRegularExpression { 66 get { return string.Empty; } 67 } 68 69 public override bool RequiresQuestionAndAnswer { 70 get { return pRequiresQuestionAndAnswer; } 71 } 72 73 public override bool RequiresUniqueEmail { 74 get { return pRequiresUniqueEmail; } 75 } 76 77 #endregion 78 26 79 public override void Initialize(string name, NameValueCollection config) { 27 80 // … … 72 125 } 73 126 74 public override string ApplicationName { 75 get { return pApplicationName; } 76 set { pApplicationName = value; } 77 } 127 78 128 79 129 public override bool ChangePassword(string username, string oldPassword, string newPassword) { … … 189 239 } 190 240 191 public override bool EnablePasswordReset { 192 get { throw new NotImplementedException(); } 193 } 194 195 public override bool EnablePasswordRetrieval { 196 get { throw new NotImplementedException(); } 197 } 241 198 242 199 243 public override MembershipUserCollection FindUsersByEmail(string emailToMatch, int pageIndex, int pageSize, out int totalRecords) { … … 230 274 } 231 275 232 public override int MaxInvalidPasswordAttempts { 233 get { throw new NotImplementedException(); } 234 } 235 236 public override int MinRequiredNonAlphanumericCharacters { 237 get { throw new NotImplementedException(); } 238 } 239 240 public override int MinRequiredPasswordLength { 241 get { throw new NotImplementedException(); } 242 } 243 244 public override int PasswordAttemptWindow { 245 get { throw new NotImplementedException(); } 246 } 247 248 public override MembershipPasswordFormat PasswordFormat { 249 get { return pPasswordFormat; } 250 } 251 252 public override string PasswordStrengthRegularExpression { 253 get { throw new NotImplementedException(); } 254 } 255 256 public override bool RequiresQuestionAndAnswer { 257 get { throw new NotImplementedException(); } 258 } 259 260 public override bool RequiresUniqueEmail { 261 get { throw new NotImplementedException(); } 262 } 276 263 277 264 278 public override string ResetPassword(string username, string answer) {
Note: See TracChangeset
for help on using the changeset viewer.