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