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