* 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.
svn path=/trunk/mcs/; revision=47700
* 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...
svn path=/trunk/mcs/; revision=47632
* FormsAuthentication.cs:
* FormsAuthenticationTicket.cs: added support for validation and
encryption of the auth. cookie and improved serialization of the ticket.
svn path=/trunk/mcs/; revision=47625
* FormsAuthentication.cs: Hash the UTF8 representation of the password
strings (to be compatible with Microsoft implementation).
svn path=/trunk/mcs/; revision=44878
* FormsAuthenticationModule.cs: fix for bug 73545, which caused
authentication not to work when the cookie was not persistent.
Patch by Ilya Kharmatsky (Mainsoft).
svn path=/trunk/mcs/; revision=41675
* 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).
svn path=/trunk/mcs/; revision=40212
* FormsAuthenticationModule.cs: allow accessing other files in the
directory where the login page is. Fixes bug #71871.
svn path=/trunk/mcs/; revision=39947
* 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.
svn path=/trunk/mcs/; revision=36274
* FormsAuthenticationModule.cs: don't renew expired cookies. Only renew
the cookie if SlidingExpiration is set. Thanks to Jim Pease.
svn path=/trunk/mcs/; revision=32676
* System.Web/HttpApplication.cs: change/restore the IPrincipal in their
own methods and make them internal.
* System.Web.Security/DefaultAuthenticationModule.cs: set the IPrincipal
for this thread once we have a user. Fixes bug #59683.
svn path=/trunk/mcs/; revision=29248
* System.Web/HttpApplication.cs: when the request is completed or an
error happens, execute all the delegates attached to EndRequest, not
only the last one. This makes xsp/test/authtest work again.
* System.Web/HttpMethodNotAllowedHandler.cs: fixed description for http
status code.
* System.Web.Security/UrlAuthorizationModule.cs: fixed description for
status code.
* System.Web.Util/UrlUtils.cs: made Reduce work when a "/" is passed.
svn path=/trunk/mcs/; revision=17655
* list: added AuthorizationConfig and AuthorizationConfigHandler.
* System.Web/HttpRequest.cs: implemented the indexer.
* System.Web.Configuration/AuthorizationConfigHandler.cs: handler for
system.web/authorization section.
* System.Web.Configuration/AuthorizationConfig.cs: keeps record of
authorization configuration.
* System.Web.Security/FormsAuthentication.cs: implemented
RedirectFromLoginPage and GetRedirectUrl.
* System.Web.Security/FormsAuthenticationModule.cs: redirect to the
login page when a 401 error happens.
* System.Web.Security/UrlAuthorizationModule.cs: check for valid user
or render error page.
svn path=/trunk/mcs/; revision=11512
* System.Web/HttpApplication.cs: added new state to handle default
authentication.
* System.Web.Configuration/HttpModulesConfigurationHandler.cs: add
a default authentication module at the end of the list.
* System.Web.Configuration/ModuleItem.cs: new constructor.
* System.Web.Security/DefaultAuthenticationModule.cs: implemented. It
just create a default unauthenticated user when no one else provided one.
* System.Web.Security/FormsAuthenticationModule.cs: removed debug output.
* System.Web.UI/Control.cs:
(AddedControl): take the children to the same state of the parent.
(InitRecursive): set the page of the children.
* System.Web.UI/Page.cs: removed one line (it's done a few lines above).
* System.Web.UI/UserControl.cs:
(OnInit): always call InitializeAsUserControl
(InitializeAsUserControl): sets the page for the control.
svn path=/trunk/mcs/; revision=10114
* System.Web/HttpCookie.cs: send 'expires' in the header.
* System.Web.Security/FormsAuthenticationModule.cs: remove debug lines.
* System.Web.UI/BaseParser.cs: a couple of path fixes to make it work
when the page is not in the root directory.
* System.Web.Util/UrlUtils.cs: fixed IsRelativeUrl and IsRootUrl.
svn path=/trunk/mcs/; revision=9797
* System.Web.Configuration/AuthConfig.cs: LoginUrl defaults to login.aspx.
* System.Web.Security/FormsAuthentication.cs: return a null ticket when
an exception is thrown creating it. Implemented RenewTicketIfOld.
* System.Web.Security/FormsAuthenticationModule.cs: implemented event
handlers for AuthenticateRequest and EndRequest.
* System.Web.Security/FormsAuthenticationTicket.cs: implemented
SetDates and Clone methods.
svn path=/trunk/mcs/; revision=9764
* FormsAuthentication.cs: implemented Authenticate, unencrypted Encrypt
and Decrypt, HashPasswordForStoringInConfigFile and Initialize.
* FormsAuthenticationTicket.cs: set cookiePath to the default when no
other provided.
svn path=/trunk/mcs/; revision=9722
* System.Web/HttpBrowserCapabilities.cs: stubbed out.
* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.
* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.
* System.Web.SessionState/IReadOnlySessionState.cs: New file.
* System.Web.SessionState/IRequiresSessionState.cs: New file.
* System.Web.SessionState/SessionStateMode.cs: New file.
* System.Web.UI/Page.cs:
(FileDependencies): now is public public.
(EnableViewStateMAC): uncommented and made protected.
(GetTypeHashCode): added method.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderAttributes): changed new by override.
(Name): allow setting the property.
* System.Web.UI.WebControls/WebControl.cs: added attributes
PersistChildrenAttribute and ParseChildrenAttribute.
* System.Web.Configuration/ChangeLog:
* System.Web.Configuration/HttpCapabilitiesBase.cs:
* System.Web.Security/ChangeLog:
* System.Web.Security/DefaultAuthenticationEventArgs.cs:
* System.Web.SessionState/ChangeLog:
* System.Web.SessionState/IReadOnlySessionState.cs:
* System.Web.SessionState/IRequiresSessionState.cs:
* System.Web.SessionState/SessionStateMode.cs: new files.
Now we are able to compile some files generated by xsp with our
System.Web classes.
svn path=/trunk/mcs/; revision=5102
* Removed all the files. Making place for someone other to contribute.
I am not in a position, right now, to look after this. It's screwing
me up...
svn path=/trunk/mcs/; revision=3343
* ChangeLog: My frustration appears here.
------------------------------------------------------------------
------------------------------------------------------------------
I AM TOTALLY SCREWED UP. NO GUESSES WHATSOEVER ON WHAT TO DO NOW!!
------------------------------------------------------------------
------------------------------------------------------------------
svn path=/trunk/mcs/; revision=2904