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