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