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