2007-11-01 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.Security / ChangeLog
1 2007-11-01  Marek Habersack  <mhabersack@novell.com>
2
3         * RolePrincipal.cs, MembershipProvider.cs: use the new
4         MachineKeySectionUtils class wherever necessary.
5
6         * FormsAuthentication.cs: use the new MachineKeySectionUtils class
7         wherever necessary.
8         GetHexString is a private method again.
9
10 2007-10-31  Marek Habersack  <mhabersack@novell.com>
11
12         * FormsAuthentication.cs: made GetHexString an internal method -
13         it is used in the AssemblyResourceLoader.cs
14
15 2007-08-14  Marek Habersack  <mhabersack@novell.com>
16
17         * Roles.cs: remove unused field.
18
19         * SqlMembershipProvider.cs: remove unused variable.
20
21 2007-08-13 Vladimir Krasnov <vladimirk@mainsoft.com>
22
23         * SqlRoleProvider.cs: fixed ApplicationName initialization
24
25 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
26
27         * FormsAuthentication.cs: improved performance of GetHexString()
28
29 2007-05-17 Vladimir Krasnov <vladimirk@mainsoft.com>
30
31         * SqlMembershipProvider.cs: fixed DeleteUser, fixed parameter name
32
33 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
34
35         * SqlMembershipProvider.cs: Fix parameter binding to stored procedures.
36
37 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
38
39         * PassportIdentity.cs:
40         added MonoNotSupported attribute.       
41
42 2007-05-02  Marek Habersack  <mhabersack@novell.com>
43
44         * FormsAuthentication.cs: user names are stored in lowercase in
45         the credentials database.
46
47 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
48
49         * FormsAuthenticationModule.cs: 
50         Redirect to login page doesn't cause thread abort.      
51
52 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
53
54         * SqlMembershipProvider.cs:
55         ChangePassword throws exception if new password has invalid format.     
56
57 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
58
59         * Membership.cs:
60         * Roles.cs:
61         if default provider was not found ConfigurationErrorsException is thrown.
62
63 2007-04-12  Marek Habersack  <mhabersack@novell.com>
64
65         * RoleManagerModule.cs: do not try to decrypt encryption tickets
66         from cookies with empty values.
67
68 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
69
70         * FormsAuthenticationModule.cs: Move initialization of _config out
71         of Init() as app.Context is null in that method when a session is
72         about to be terminated.
73
74 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
75
76         * AnonymousIdentificationModule.cs: optimized Config property
77
78 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
79
80         * AnonymousIdentificationModule.cs: added configuration section caching
81         to AppDomain for TARGET_JVM
82         * RoleManagerModule.cs:
83         * UrlAuthorizationModule.cs:
84         * FormsAuthenticationModule.cs: refactored configuration section to be
85         a member of a class
86
87 2007-03-20  Marek Habersack  <mhabersack@novell.com>
88
89         * FormsAuthentication.cs, Roles.cs: remove roles cookie on sign
90         out. Fixes bug #81195. Patch from Mike Morano <mmorano@mikeandwan.us>.
91
92 2007-03-12  Marek Habersack  <mhabersack@novell.com>
93
94         * RolePrincipal.cs: decrypt the roles ticket properly. Makes role
95         caching in cookies work. Fixes bug #81117. Patch from Mike Morano
96         <mmorano@mikeandwan.us>
97
98 2007-03-02  Marek Habersack  <mhabersack@novell.com>
99
100         * SqlMembershipProvider.cs: cast PasswordFormat to int, so that
101         the parameter code can infer the sql type. Makes user creation,
102         password reset etc. work.
103
104 2007-02-28  Andreia Gaita  <avidigal@novell.com>
105
106         * SqlRoleProvider.cs: Fix parameter binding to stored procedures.
107         * SqlMembershipProvider.cs: Fix parameter binding to stored procedures.
108         CreateUser() doesn't use transactions in MS asp.net, so removed the 
109         transaction calls.
110
111 2007-02-19 Vladimir Krasnov <vladimirk@mainsoft.com>
112
113         * RoleManagerModule.cs: fixed role chaching in OnEndRequest and
114         OnPostAuthenticateRequest
115         * RolePrincipal.cs: implemented ToEncryptedTicket, implemented caching
116         role functionality
117         * Roles.cs: implemented DeleteCookie, fixed CookieProtectionValue to
118         get it's value from configuration
119
120 2007-02-08  Marek Habersack  <grendello@gmail.com>
121
122         * FormsAuthenticationModule.cs: Expire auth tickets properly.
123
124         * MembershipProvider.cs: Do not clear the password before
125         encrypting it. 
126
127 2007-01-20  Miguel de Icaza  <miguel@novell.com>
128
129         * SqlRoleProvider.cs: comment out unused code.
130
131         * SqlMembershipProvider.cs: Removed unused variables.
132         Remove unused variable.
133
134         * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
135         remove unused variable.   This might be a real bug.
136
137 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
138
139         * RoleManagerModule.cs: fixed OnPostAuthenticateRequest,
140         CacheRolesInCookie not supported yet
141         * Roles.cs: fixed DeleteCookie, CacheRolesInCookie not supported yet
142
143 2007-01-11 Adar Wesley <adarw@mainsoft.com>
144
145         * MembershipProvider.cs: fixed EncryptPassword to use password buffer length
146
147 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
148
149         * AnonymousIdentificationModule.cs: fixed OnEnter, fixed failure on
150         incorrect cookie value that browser may hold
151
152 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
153
154         * FormsAuthentication.cs: added internal ReturnUrl property,
155         GetRedirectUrl added usage of ReturnUrl
156
157 2006-12-12 Vladimir Krasnov <vladimirk@mainsoft.com>
158
159         * FormsAuthentication.cs: TARGET_J2EE define for static members
160
161 2006-12-06 Vladimir Krasnov <vladimirk@mainsoft.com>
162
163         * FormsAuthenticationModule.cs: fixed OnAuthenticateRequest, suppress
164         exception on wrong ticket
165
166 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
167
168         * FormsAuthenticationModule.cs: 
169         set SkipAuthorization=true for WebResource.axd
170
171 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
172
173         * SqlMembershipProvider.cs: typo bug
174
175 2006-11-21 Vladimir Krasnov <vladimirk@mainsoft.com>
176
177         * SqlMembershipProvider.cs: fixed fixed exception type in GetPassword
178         checks user lockout
179
180 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
181
182         * SqlMembershipProvider.cs: fixed: UpdateUser works properly.
183
184 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
185
186         * SqlMembershipProvider.cs: fixed: name is used for ReturnValue parameter.
187
188 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
189
190         * AnonymousIdentificationModule.cs: fixed anonymous id cookie
191
192 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
193
194         * MembershipProvider.cs, SqlMembershipProvider.cs:
195         refactoring of DecryptPassword and EncryptPassword methods according
196         to documentation
197
198 2006-09-10 Konstantin Triger <kostat@mainsoft.com>
199
200         * SqlRoleProvider.cs: throw on empty connection string.
201
202 2006-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
203
204         * Membership.cs: fixed GetAllUsers, typo bug
205         * SqlRoleProvider.cs, SqlMembershipProvider.cs: refactored to use
206         aspnetdb built in stored procedures,
207         fixed application name and membership relation,
208         improved exception handling
209
210 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
211
212         * RolePrincipal.cs: refactoring: instance can be serialized.
213
214 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
215
216         * SqlMembershipProvider.cs: fixed GetUser,
217         when username is String.Empty methods returns null.
218
219 2006-08-31 Konstantin Triger <kostat@mainsoft.com>
220
221         * SqlRoleProvider.cs: fixed initialization.
222
223 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
224
225         * SqlMembershipProvider.cs: fixed CreateUser,
226         password is checked, properties MinRequiredPasswordLength and 
227         MinRequiredNonAlphanumericCharacters are considered.
228
229 2006-08-29 Konstantin Triger <kostat@mainsoft.com>
230
231         * SqlMembershipProvider.cs: fix dispose order of reader vs connection.
232
233 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
234
235         * SqlMembershipProvider.cs: fixed CreateUser, parameter isApproved is
236                 considered.
237
238 2006-08-28 Konstantin Triger <kostat@mainsoft.com>
239
240         * SqlMembershipProvider.cs: ensure GetUser() returns null if it cannot
241                 retrieve user information.
242
243 2006-08-28 Konstantin Triger <kostat@mainsoft.com>
244
245         * SqlRoleProvider.cs, SqlMembershipProvider.cs:
246                 "use SqlClientFactory in case the ProviderName is not specified.
247
248 2006-08-27 Konstantin Triger <kostat@mainsoft.com>
249
250         * SqlRoleProvider.cs: enable concurrent usage, refactoring.
251
252 2006-08-27 Konstantin Triger <kostat@mainsoft.com>
253
254         * SqlMembershipProvider.cs: enable concurrent usage, refactoring.
255
256 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
257
258         * SqlMembershipProvider.cs: fixed ValidateUser, bug when user
259         not exists
260
261 2006-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
262
263         * FormsAuthentication.cs: set the Secure attribute of the authentication
264         cookie when required.
265
266 2006-07-06      Konstantin Triger <kostat@mainsoft.com>
267
268         * FormsAuthentication.cs: Ensure initialized, fix url mapping.
269
270 2006-05-03  Chris Toshok  <toshok@ximian.com>
271
272         * SqlMembershipProvider.cs (GetAlg): move this here for the time
273         being, as it's the only class that uses it.
274         (HashAndBase64Encode): nuke.
275         (EncryptAndBase64Encode): nuke.
276         (Base64DecodeAndDecrypt): nuke.
277         (DecryptPassword): new function.
278         (EncryptPassword): new function.
279         (ChangePassword): replace the switch with a call to
280         EncodePassword.
281         (ChangePasswordQuestionAndAnswer): same.
282         (CreateUser): same.
283         (ResetPassword): same.
284         (ValidateUsingPassword): same.
285         (ValidateUsingPasswordAnswer): same.
286         (GetPassword): same, and throw MembershipPasswordException if the
287         password answer is incorrect.
288
289         * MembershipProvider.cs (InitVector): nuke this.  it's actually
290         the salt from the database (for the sql provider, anyway).
291         (EncodePassword): based on the password format, password, and
292         salt, encode it.  Makes use of EncryptPassword.
293         (DecodePassword): likewise for decoding, makes use of
294         DecryptPassword.
295         (DecryptPassword): revert this to throwing
296         NotImplementedException, as the sql provideroverrides it to
297         perform the actual decryption.
298         (EncryptPassword): same.
299
300 2006-05-02  Chris Toshok  <toshok@ximian.com>
301
302         * SqlMembershipProvider.cs: 85% complete, maybe more.  The major
303         functionality should work.  Password retrieval (and encrypted
304         passwords in general) is untested.
305
306 2006-05-01  Chris Toshok  <toshok@ximian.com>
307
308         * Membership.cs (GeneratePassword): don't include quotes (',",`)
309         in the set of characters in the generated passwords.
310
311 2006-05-01  Chris Toshok  <toshok@ximian.com>
312
313         * MembershipProvider.cs (GetAlg): switch from Exception to
314         ProviderException to match MS behavior (and fix the unit test.)
315
316         * Membership.cs (GeneratePassword): implement.
317
318 2006-05-01  Chris Toshok  <toshok@ximian.com>
319
320         * SqlMembershipProvider.cs: lots more work.  checking this in in
321         its present state because I don't want to lose it.  It still needs
322         work.
323         
324         * Membership.cs (.cctor): remove the fallback.
325         (ValidatingPassword): remove the MonoTODO.
326
327         * MembershipProvider.cs (DecryptPassword): implement.
328         (EncryptPassword): implement.
329         (GetAlg): helper function for Decrypt/EncryptPassword.
330         (InitVector): same.
331
332 2006-04-27  Chris Toshok  <toshok@ximian.com>
333
334         * SqlMembershipProvider.cs (GeneratePassword): call
335         Membership.GeneratePassword with the configured minimum strength
336         requirements.
337
338 2006-04-27  Chris Toshok  <toshok@ximian.com>
339
340         * SqlMembershipProvider.cs (UnlockUser): fix sql query, and move
341         the CheckPararm call to the top of the method.
342
343 2006-04-12  Chris Toshok  <toshok@ximian.com>
344
345         * SqlMembershipProvider.cs: commit initial pass at
346         SqlMembershipProvider work.  lots of stuff untested in here.
347
348 2006-04-11  Chris Toshok  <toshok@ximian.com>
349
350         * MembershipUser.cs (.ctor): per Shackow's book, all DateTime's
351         are converted using ToUniversalTime when passed into this class.
352         (UpdateSelf): update ourselves from the passed in MembershipUser,
353         swallowing NotSupportedExceptions.
354         (UpdateUser): fetch a new MembershipUser from the db and call
355         UpdateSelf with it.
356         (ChangePassword): call UpdateUser after changing the password.
357         (ChangePasswordQuestionAndAnswer): same.
358         (ResetPassword): same.
359         (UnlockUser): same.  Also, don't explicitly set isLockedOut.
360         It'll be updated in UpdateSelf.
361         (CreationDate): getter calls ToLocalTime, setter calls
362         ToUniversalTime.
363         (LastActivityDate): same.
364         (LastLoginDate): same.
365         (LastPasswordChangedDate): same.
366         (LastLockoutDate): same.
367         
368         * Membership.cs (.cctor): use
369         ProvidersHelper.InstantitateProviders, and remove some unnecessary
370         #if NET_2_0's.
371
372 2006-03-29  Chris Toshok  <toshok@ximian.com>
373
374         * SqlRoleProvider.cs: do the LOWER's in SQL, not in C#.
375
376 2006-03-23  Chris Toshok  <toshok@ximian.com>
377
378         * Roles.cs: make this 2.0 configuration aware.
379
380         * SqlRoleProvider.cs: flesh out all the operations.  the only
381         things that need dealing with are the Initialize method's handling
382         of a few parameters, and the ApplicationName property.
383
384 2006-03-23  Chris Toshok  <toshok@ximian.com>
385
386         * DefaultAuthenticationModule.cs (OnDefaultAuthentication): always
387         set Thread.CurrentPrincipal, not just if we set it to the
388         GenericPrincipal.
389
390 2006-03-22  Chris Toshok  <toshok@ximian.com>
391
392         * RoleManagerModule.cs: implement using info in Shackow's book.
393
394         * RolePrincipal.cs: flesh this out a bit more.
395
396         * DefaultAuthenticationModule.cs (OnDefaultAuthentication):
397         according to Shackow's book, this sets Thread.CurrentPrincipal as
398         well as HttpContext.Current.User.
399
400 2006-02-28  Chris Toshok  <toshok@ximian.com>
401
402         * FormsAuthentication.cs: corcompare work.
403
404         * MembershipCreateUserException.cs: same.
405
406         * MembershipPasswordException.cs: same.
407
408         * AnonymousIdentificationModule.cs: same.
409
410 2006-02-01  Chris Toshok  <toshok@ximian.com>
411
412         * FormsAuthentication.cs, Membership.cs,
413         FormsAuthenticationModule.cs, UrlAuthorizationModule.cs: oops,
414         replace GetWebApplicationSection with GetSection.
415         
416 2006-02-01  Chris Toshok  <toshok@ximian.com>
417
418         * FormsAuthentication.cs: CONFIGURATION_2_0 => NET_2_0.
419         simplifies the ifdef mess quite a bit.
420
421         * Membership.cs: same.
422
423         * FormsAuthenticationModule.cs: same.
424
425         * UrlAuthorizationModule.cs: same.
426
427 2006-01-04  Chris Toshok  <toshok@ximian.com>
428
429         * FormsAuthentication.cs (Authenticate): add CONFIGURATION_2_0
430         code.
431         (Decrypt2): same.
432         (Decrypt): same.
433         (Encrypt): same.
434         (Initialize): same.
435
436 2006-01-04  Chris Toshok  <toshok@ximian.com>
437
438         * Membership.cs (.cctor): enable the code here under
439         CONFIGURATION_2_0.
440
441 2006-01-03  Chris Toshok  <toshok@ximian.com>
442
443         * UrlAuthorizationModule.cs (OnAuthorizeRequest): add
444         CONFIGURATION_2_0 code here.
445
446 2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
447
448         * FormsAuthentication.cs: don't end the request in
449         RedirectFromLoginPage.
450
451 2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452
453         * FormsAuthenticationModule.cs: expire the cookie. Fixes bug #77043.
454         Patch by Cyrille Colin.
455
456 2005-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457
458         * FormsAuthenticationModule.cs: ignore any exception thrown when mapping
459         the provided virtual path to the physical one. Patch by Cyrille Colin.
460
461 2005-11-28  Chris Toshok  <toshok@ximian.com>
462
463         * FormsAuthenticationModule.cs (OnAuthenticateRequest):
464         CONFIGURATION_2_0 work.
465         (OnEndRequest): same.
466
467 2005-09-09  Sebastien Pouliot  <sebastien@ximian.com>
468
469         * DefaultAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
470         * DefaultAuthenticationModule.cs: Added LinkDemand for Minimal. Added
471         Demand for UnmanagedCode on constructor.
472         * FileAuthorizationModule.cs: Added LinkDemand for Minimal. Added 
473         Demand for UnmanagedCode on constructor.
474         * FormsAuthentication.cs: Added LinkDemand for Minimal.
475         * FormsAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
476         * FormsAuthenticationModule.cs: Added LinkDemand for Minimal. Added 
477         Demand for UnmanagedCode on constructor.
478         * FormsAuthenticationTicket.cs: Added LinkDemand for Minimal.
479         * FormsIdentity.cs: Added LinkDemand for Minimal.
480         * PassportAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
481         * PassportAuthenticationModule.cs: Added LinkDemand for Minimal. Added
482         Demand for UnmanagedCode on constructor.
483         * PassportIdentity.cs: Added LinkDemand for Minimal. Added Demand for
484         UnmanagedCode on constructor.
485         * UrlAuthorizationModule.cs: Added LinkDemand for Minimal. Added 
486         Demand for UnmanagedCode on constructor.
487         * WindowsAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
488         * WindowsAuthenticationModule.cs: Added LinkDemand for Minimal. Added
489         Demand for UnmanagedCode on constructor.
490
491 2005-09-01  Sebastien Pouliot  <sebastien@ximian.com>
492
493         * FormsAuthenticationEventArgs.cs: Ensure the setter for User is 
494         protected by a demand for ControlPrincipal.
495         * PassportAuthenticationEventArgs.cs: Ensure the setter for User is
496         protected by a demand for ControlPrincipal.
497         * WindowsAuthenticationEventArgs.cs: Ensure the setter for User is 
498         protected by a demand for ControlPrincipal.
499
500 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
501  
502         * FormsAuthentication.cs: With 2.0 we can get the default properties 
503         and call Initialize without a NRE.
504
505 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
506
507         * ActiveDirectoryConnectionProtection.cs: New (2.0) enum.
508         * ActiveDirectoryMembershipProvider.cs: Fixed 2.0 API.
509         * AnonymousIdentificationEventArgs.cs: Fixed AnonymousID property case.
510         * AnonymousIdentificationModule.cs: Fixed 2.0 API.
511         * FileAuthorizationModule.cs: Added static CheckFileAccessForUser in 
512         2.0 profile (TODO).
513         * FormsAuthentication.cs: Added missing 2.0 properties with their 
514         default values.
515         * MembershipCreateStatus.cs: Fixed enum values/names.
516         * MembershipProvider.cs: Added stub for [Decrypt|Encrypt]Password. Both
517         methods don't seems to work without an active provider.
518         * PassportIdentity.cs: Added IDispose for 2.0 profile.
519         * Roles.cs: Added missing beta2 bits and default values (which are the
520         only things working without a role provider (web.config).
521         * RolePrincipal.cs: Fixed 2.0 API. Implemented a few bits.
522         * SqlRoleProvider.cs: Fixed 2.0 API.
523         * UrlAuthorizationModule.cs: Added static CheckUrlAccessForPrincipal in
524         2.0 profile (TODO).
525
526 2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>
527
528         * MembershipUserCollection.cs: Fix exceptions.
529
530 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
531
532         * FormsAuthentication.cs: Add some 2.0 stuff required for Login* 
533         controls to compile.
534
535 2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>
536
537         * Membership.cs: Commented unworking parts of the .cctor to allow 
538         testing the Login control.
539         * MembershipProviderCollection.cs: Fixed exception handling.
540         * SqlMembershipProvider.cs: Don't throw NotImplementedException 
541         everywhere so Membership's .cctor (somewhat) works. Removed 
542         Description property (not in beta2).
543
544 2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545
546         * FormsAuthentication.cs: allow hardware acceleration support if
547         available. Sebastien dixit.
548
549 2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
550
551         * FormsAuthentication.cs: the init_vector must be the same accross
552         restarts, otherwise the cookie does not work even when a decryption
553         key is provided. Initialize it to the bytes of the cookie name. Fixes
554         bug #75635.
555
556 2005-07-25  Eyal Alaluf <eyala@mainsoft.com>
557
558         * FormsAuthenticationModule.cs: Check for null config
559
560 2005-07-25  Miguel de Icaza  <miguel@novell.com>
561
562         * FormsAuthentication.cs (SignOut): Force the cookie to have it
563         expire in the past.
564
565 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
566
567         * FormsAuthentication.cs: my previous patch missed a "small" detail: it
568         didn't include the verification key when computing/checking the
569         validation hash. Now this is really a MAC or HMAC or...
570
571 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
572
573         * FormsAuthentication.cs:
574         * FormsAuthenticationTicket.cs: added support for validation and
575         encryption of the auth. cookie and improved serialization of the ticket.
576
577 2005-07-01  Lluis Sanchez Gual <lluis@novell.com>
578
579         * Membership.cs: Read provider info from the config file.
580
581 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
582
583         * MembershipUserCollection.cs:
584         * MembershipPasswordException.cs:
585         * RoleProviderCollection.cs:
586         * ActiveDirectoryMembershipProvider.cs:
587         * SqlMembershipProvider.cs:
588         * MembershipProvider.cs:
589         * SqlRoleProvider.cs:
590         * Membership.cs:
591         * MembershipUser.cs:
592         * MembershipProviderCollection.cs:
593         * Roles.cs:.
594         * RoleProvider.cs: Track api changes in ASP.NET 2.0. Implemented
595         some missing methods.
596         
597         * AccessRoleProvider.cs:
598         * AccessMembershipProvider.cs: Removed.
599         
600         * MembershipCreateUserException.cs:
601         * MembershipValidatePasswordEventHandler.cs:
602         * ValidatePasswordEventArgs.cs: Implemented.
603
604 2005-05-21  Sebastien Pouliot  <sebastien@ximian.com>
605
606         * FormsAuthentication.cs: Hash the UTF8 representation of the password
607         strings (to be compatible with Microsoft implementation).
608
609 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
610
611         * FormsAuthentication.cs:
612         * PassportAuthenticationModule.cs:
613         * WindowsAuthenticationModule.cs: removed warnings.
614
615 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
616
617         * FormsAuthenticationModule.cs: fix for bug 73545, which caused
618         authentication not to work when the cookie was not persistent.
619         Patch by Ilya Kharmatsky (Mainsoft).
620
621 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
622
623         * FormsAuthentication.cs: make the string to be stored in a config.
624         file uppercase... See bug #72557.
625
626 2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
627
628         * FormsAuthentication.cs: fixed typo when getting the hash for the 
629         password in SHA1 and MD5. Thanks to Tadas Dailyda.
630         Lock on a static object instead of typeof(FormsAuthentication).
631
632 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
633
634         * RoleProvider.cs, Roles.cs, SqlRoleProvider.cs, RoleProviderCollection.cs,
635         AccessRoleProvider.cs: IRoleProvider has been renamed to ProviderBase.
636         * IMembershipProvider.cs: Deleted.
637         * MembershipProvider.cs, AccessMembershipProvider.cs, MembershipUser.cs,
638         Membership.cs, ADMembershipProvider.cs, SqlMembershipProvider.cs
639         MembershipProviderCollection.cs: MembershipProvider has been deleted
640         and replaced by the abstract class MembershipProvider.
641         * MembershipProviderCollection.cs: Minor fixes.
642         * ADMembershipProvider.cs: Renamed to ActiveDirectoryMembershipProvider.cs.
643
644 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
645
646         * RoleProviderCollection.cs, MembershipProviderCollection.cs: 
647         Fixed warnings.
648
649 2004-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
650
651         * FormsAuthentication.cs: patch by Jim Pease to fix the date on renewal.
652
653 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
654
655         * FormsAuthenticationModule.cs: don't renew expired cookies. Only renew
656         the cookie if SlidingExpiration is set. Thanks to Jim Pease.
657
658 2004-08-03  Sanjay Gupta <gsanjay@novell.com>
659
660         * MembershipSortOptions.cs:
661         * MembershipPasswordFormat.cs:
662         * MembershipOnlineStatus.cs:
663         * MembershipCreateStatus.cs:
664         * CookieProtection.cs: minor modifications.
665
666 2004-06-12  Pedro Martnez Juli  <yoros@wanadoo.es>
667
668         * FormsAuthentication.cs: Undo last change.
669
670 2004-06-12  Pedro Martnez Juli  <yoros@wanadoo.es>
671
672         * FormsAuthentication.cs: go to loginUrl from web.config settings
673         before try with the default ones.
674
675 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
676
677         * DefaultAuthenticationModule.cs: set the IPrincipal for this thread
678         once we have a user. Fixes bug #59683.
679
680 2004-04-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
681
682         * FormsAuthenticationModule.cs: re-read configuration files if needed
683         when determining if forms auth. is used.
684
685 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
686
687         * FormsAuthentication.cs: added RequireSSL and SlidingExpiration.
688
689 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
690
691         * PassportIdentity.cs: Added v 1.1 members
692
693 2003-11-25 Ben Maurer  <bmaurer@users.sourceforge.net>
694         
695         * AccessMembershipProvider.cs: New v2 file
696         * AccessRoleProvider.cs: New v2 file
697         * ADMembershipProvider.cs: New v2 file
698         * AnonymousIdentificationEventArgs.cs: New v2 file
699         * AnonymousIdentificationEventHandler.cs: New v2 file
700         * AnonymousIdentificationModule.cs: New v2 file
701         * CookieProtection.cs: New v2 file
702         * IMembershipProvider.cs: New v2 file
703         * IRoleProvider.cs: New v2 file
704         * Membership.cs: New v2 file
705         * MembershipCreateStatus.cs: New v2 file
706         * MembershipCreateUserException.cs: New v2 file
707         * MembershipOnlineStatus.cs: New v2 file
708         * MembershipPasswordException.cs: New v2 file
709         * MembershipPasswordFormat.cs: New v2 file
710         * MembershipProviderCollection.cs: New v2 file
711         * MembershipSortOptions.cs: New v2 file
712         * MembershipUser.cs: New v2 file
713         * MembershipUserCollection.cs: New v2 file
714         * RoleManagerEventArgs.cs: New v2 file
715         * RoleManagerEventHandler.cs: New v2 file
716         * RoleManagerModule.cs: New v2 file
717         * RolePrincipal.cs: New v2 file
718         * RoleProviderCollection.cs: New v2 file
719         * Roles.cs: New v2 file
720         * SqlMembershipProvider.cs: New v2 file
721         * SqlRoleProvider.cs: New v2 file
722
723 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
724
725         * FormsAuthentication.cs: encoding updates.
726
727 2003-10-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
728
729         * FormsAuthenticationModule.cs: fixed for applications other than /.
730
731 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
732
733         * UrlAuthorizationModule.cs: fixed description for status code.
734
735 2003-07-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
736
737         * FormsAuthenticationModule.cs: really renew the ticket. Thanks to
738         Jens Thiel <Jens@Thiel.DE>.
739
740 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
741
742         * UrlAuthorizationModule.cs: tell the application not to run any other
743         step apart from EndRequest.
744
745 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
746
747         * FormsAuthentication.cs: implemented RedirectFromLoginPage and
748         GetRedirectUrl.
749         
750         * FormsAuthenticationModule.cs: redirect to the login page when a 401
751         error happens.
752
753         * UrlAuthorizationModule.cs: check for valid user or render error page.
754
755 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
756
757         * DefaultAuthenticationModule.cs: implemented. It just create a default 
758         unauthenticated user when no one else provided one.
759
760         * FormsAuthenticationModule.cs: removed debug output.
761
762 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
763
764         * FormsAuthenticationModule.cs: remove debug lines.
765
766 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
767
768         * FormsAuthentication.cs: return a null ticket when an exception is
769         thrown creating it. Implemented RenewTicketIfOld.
770
771         * FormsAuthenticationModule.cs: implemented event handlers for
772         AuthenticateRequest and EndRequest.
773
774         * FormsAuthenticationTicket.cs: implemented SetDates and Clone methods.
775
776 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
777
778         * FormsAuthentication.cs: implemented GetAuthCookie, SetAuthCookie,
779         SignOut, FormsCookieName and FormsCookiePath.
780
781 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
782
783         * FormsAuthentication.cs: implemented Authenticate, unencrypted Encrypt
784         and Decrypt, HashPasswordForStoringInConfigFile and Initialize.
785
786         * FormsAuthenticationTicket.cs: set cookiePath to the default when no
787         other provided.
788
789 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
790
791         * DefaultAuthenticationEventHandler.cs:
792         * DefaultAuthenticationModule.cs:
793         * FileAuthorizationModule.cs:
794         * FormsAuthentication.cs:
795         * FormsAuthenticationEventArgs.cs:
796         * FormsAuthenticationEventHandler.cs:
797         * FormsAuthenticationModule.cs:
798         * FormsAuthenticationTicket.cs:
799         * FormsIdentity.cs:
800         * PassportAuthenticationEventArgs.cs:
801         * PassportAuthenticationEventHandler.cs:
802         * PassportAuthenticationModule.cs:
803         * PassportIdentity.cs:
804         * UrlAuthorizationModule.cs:
805         * WindowsAuthenticationEventArgs.cs:
806         * WindowsAuthenticationEventHandler.cs:
807         * WindowsAuthenticationModule.cs: new files. Some of them implemented,
808         some others stubbed out.
809
810 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
811
812         * DefaultAuthenticationEventArgs.cs: added file.
813