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