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