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