2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Security / ChangeLog
index babaef9f306cc42324fbc20ab53541f728bd348b..0bdd07d211e5adbdb6287d377770a7aff8ea70e2 100644 (file)
@@ -1,3 +1,250 @@
+2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: don't end the request in
+       RedirectFromLoginPage.
+
+2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthenticationModule.cs: expire the cookie. Fixes bug #77043.
+       Patch by Cyrille Colin.
+
+2005-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthenticationModule.cs: ignore any exception thrown when mapping
+       the provided virtual path to the physical one. Patch by Cyrille Colin.
+
+2005-11-28  Chris Toshok  <toshok@ximian.com>
+
+       * FormsAuthenticationModule.cs (OnAuthenticateRequest):
+       CONFIGURATION_2_0 work.
+       (OnEndRequest): same.
+
+2005-09-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DefaultAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
+       * DefaultAuthenticationModule.cs: Added LinkDemand for Minimal. Added
+       Demand for UnmanagedCode on constructor.
+       * FileAuthorizationModule.cs: Added LinkDemand for Minimal. Added 
+       Demand for UnmanagedCode on constructor.
+       * FormsAuthentication.cs: Added LinkDemand for Minimal.
+       * FormsAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
+       * FormsAuthenticationModule.cs: Added LinkDemand for Minimal. Added 
+       Demand for UnmanagedCode on constructor.
+       * FormsAuthenticationTicket.cs: Added LinkDemand for Minimal.
+       * FormsIdentity.cs: Added LinkDemand for Minimal.
+       * PassportAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
+       * PassportAuthenticationModule.cs: Added LinkDemand for Minimal. Added
+       Demand for UnmanagedCode on constructor.
+       * PassportIdentity.cs: Added LinkDemand for Minimal. Added Demand for
+       UnmanagedCode on constructor.
+       * UrlAuthorizationModule.cs: Added LinkDemand for Minimal. Added 
+       Demand for UnmanagedCode on constructor.
+       * WindowsAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
+       * WindowsAuthenticationModule.cs: Added LinkDemand for Minimal. Added
+       Demand for UnmanagedCode on constructor.
+
+2005-09-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FormsAuthenticationEventArgs.cs: Ensure the setter for User is 
+       protected by a demand for ControlPrincipal.
+       * PassportAuthenticationEventArgs.cs: Ensure the setter for User is
+       protected by a demand for ControlPrincipal.
+       * WindowsAuthenticationEventArgs.cs: Ensure the setter for User is 
+       protected by a demand for ControlPrincipal.
+
+2005-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
+       * FormsAuthentication.cs: With 2.0 we can get the default properties 
+       and call Initialize without a NRE.
+
+2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ActiveDirectoryConnectionProtection.cs: New (2.0) enum.
+       * ActiveDirectoryMembershipProvider.cs: Fixed 2.0 API.
+       * AnonymousIdentificationEventArgs.cs: Fixed AnonymousID property case.
+       * AnonymousIdentificationModule.cs: Fixed 2.0 API.
+       * FileAuthorizationModule.cs: Added static CheckFileAccessForUser in 
+       2.0 profile (TODO).
+       * FormsAuthentication.cs: Added missing 2.0 properties with their 
+       default values.
+       * MembershipCreateStatus.cs: Fixed enum values/names.
+       * MembershipProvider.cs: Added stub for [Decrypt|Encrypt]Password. Both
+       methods don't seems to work without an active provider.
+       * PassportIdentity.cs: Added IDispose for 2.0 profile.
+       * Roles.cs: Added missing beta2 bits and default values (which are the
+       only things working without a role provider (web.config).
+       * RolePrincipal.cs: Fixed 2.0 API. Implemented a few bits.
+       * SqlRoleProvider.cs: Fixed 2.0 API.
+       * UrlAuthorizationModule.cs: Added static CheckUrlAccessForPrincipal in
+       2.0 profile (TODO).
+
+2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MembershipUserCollection.cs: Fix exceptions.
+
+2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FormsAuthentication.cs: Add some 2.0 stuff required for Login* 
+       controls to compile.
+
+2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Membership.cs: Commented unworking parts of the .cctor to allow 
+       testing the Login control.
+       * MembershipProviderCollection.cs: Fixed exception handling.
+       * SqlMembershipProvider.cs: Don't throw NotImplementedException 
+       everywhere so Membership's .cctor (somewhat) works. Removed 
+       Description property (not in beta2).
+
+2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: allow hardware acceleration support if
+       available. Sebastien dixit.
+
+2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: the init_vector must be the same accross
+       restarts, otherwise the cookie does not work even when a decryption
+       key is provided. Initialize it to the bytes of the cookie name. Fixes
+       bug #75635.
+
+2005-07-25  Eyal Alaluf <eyala@mainsoft.com>
+
+       * FormsAuthenticationModule.cs: Check for null config
+
+2005-07-25  Miguel de Icaza  <miguel@novell.com>
+
+       * FormsAuthentication.cs (SignOut): Force the cookie to have it
+       expire in the past.
+
+2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: my previous patch missed a "small" detail: it
+       didn't include the verification key when computing/checking the
+       validation hash. Now this is really a MAC or HMAC or...
+
+2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs:
+       * FormsAuthenticationTicket.cs: added support for validation and
+       encryption of the auth. cookie and improved serialization of the ticket.
+
+2005-07-01  Lluis Sanchez Gual <lluis@novell.com>
+
+       * Membership.cs: Read provider info from the config file.
+
+2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
+
+       * MembershipUserCollection.cs:
+       * MembershipPasswordException.cs:
+       * RoleProviderCollection.cs:
+       * ActiveDirectoryMembershipProvider.cs:
+       * SqlMembershipProvider.cs:
+       * MembershipProvider.cs:
+       * SqlRoleProvider.cs:
+       * Membership.cs:
+       * MembershipUser.cs:
+       * MembershipProviderCollection.cs:
+       * Roles.cs:.
+       * RoleProvider.cs: Track api changes in ASP.NET 2.0. Implemented
+       some missing methods.
+       
+       * AccessRoleProvider.cs:
+       * AccessMembershipProvider.cs: Removed.
+       
+       * MembershipCreateUserException.cs:
+       * MembershipValidatePasswordEventHandler.cs:
+       * ValidatePasswordEventArgs.cs: Implemented.
+
+2005-05-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FormsAuthentication.cs: Hash the UTF8 representation of the password
+       strings (to be compatible with Microsoft implementation).
+
+2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs:
+       * PassportAuthenticationModule.cs:
+       * WindowsAuthenticationModule.cs: removed warnings.
+
+2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthenticationModule.cs: fix for bug 73545, which caused
+       authentication not to work when the cookie was not persistent.
+       Patch by Ilya Kharmatsky (Mainsoft).
+
+2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: make the string to be stored in a config.
+       file uppercase... See bug #72557.
+
+2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: fixed typo when getting the hash for the 
+       password in SHA1 and MD5. Thanks to Tadas Dailyda.
+       Lock on a static object instead of typeof(FormsAuthentication).
+
+2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
+
+       * RoleProvider.cs, Roles.cs, SqlRoleProvider.cs, RoleProviderCollection.cs,
+       AccessRoleProvider.cs: IRoleProvider has been renamed to ProviderBase.
+       * IMembershipProvider.cs: Deleted.
+       * MembershipProvider.cs, AccessMembershipProvider.cs, MembershipUser.cs,
+       Membership.cs, ADMembershipProvider.cs, SqlMembershipProvider.cs
+       MembershipProviderCollection.cs: MembershipProvider has been deleted
+       and replaced by the abstract class MembershipProvider.
+       * MembershipProviderCollection.cs: Minor fixes.
+       * ADMembershipProvider.cs: Renamed to ActiveDirectoryMembershipProvider.cs.
+
+2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
+
+       * RoleProviderCollection.cs, MembershipProviderCollection.cs: 
+       Fixed warnings.
+
+2004-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: patch by Jim Pease to fix the date on renewal.
+
+2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthenticationModule.cs: don't renew expired cookies. Only renew
+       the cookie if SlidingExpiration is set. Thanks to Jim Pease.
+
+2004-08-03  Sanjay Gupta <gsanjay@novell.com>
+
+       * MembershipSortOptions.cs:
+       * MembershipPasswordFormat.cs:
+       * MembershipOnlineStatus.cs:
+       * MembershipCreateStatus.cs:
+       * CookieProtection.cs: minor modifications.
+
+2004-06-12  Pedro Martnez Juli  <yoros@wanadoo.es>
+
+       * FormsAuthentication.cs: Undo last change.
+
+2004-06-12  Pedro Martnez Juli  <yoros@wanadoo.es>
+
+       * FormsAuthentication.cs: go to loginUrl from web.config settings
+       before try with the default ones.
+
+2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DefaultAuthenticationModule.cs: set the IPrincipal for this thread
+       once we have a user. Fixes bug #59683.
+
+2004-04-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthenticationModule.cs: re-read configuration files if needed
+       when determining if forms auth. is used.
+
+2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FormsAuthentication.cs: added RequireSSL and SlidingExpiration.
+
+2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * PassportIdentity.cs: Added v 1.1 members
+
 2003-11-25 Ben Maurer  <bmaurer@users.sourceforge.net>
        
        * AccessMembershipProvider.cs: New v2 file