* BuildManager.cs: do less work in the static constructor
2010-03-04 Marek Habersack <[email protected]>
* RuntimeHelpers.cs: added. Contains methods moved here from
HttpRuntime, so that initialization sequence of various objects is
independent of HttpRuntime.
2010-03-04 Marek Habersack <[email protected]>
* HttpRuntime.cs: do less work in the static constructor. Most of
the code was moved to System.Web.Util.RuntimeHelpers. Properties
which have been moved: MonoVersion, RunningOnWindows,
CaseInsensitive, IsDebuggingEnabled
Also:
- hushed some compiler warnings
- various classes now use RuntimeHelpers instead of HttpRuntime
svn path=/trunk/mcs/; revision=153038
- made sure invariant culture is used with String.ToLower, String.ToUpper and String.Compare
- replaced all calls to CultureInfo.InvariantCulture with a reference to a static field System.Web.Util.Helpers.InvariantCulture
svn path=/trunk/mcs/; revision=143587
* FormsAuthenticationModule.cs: if forms authentication login URL
is not rooted, make it relative to the application root, so that
MapPath maps it correctly.
Use String.Compare for checking whether requested URL matches the
login URL - be case-insensitive when running on Windows or with
IOMAP in effect.
svn path=/trunk/mcs/; revision=134931
* BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
DataControlFieldCollection.cs, DataControlField.cs,
PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
event accessors (to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* AnonymousIdentificationModule.cs, FormsAuthenticationModule.cs,
DefaultAuthenticationModule.cs, MembershipProvider.cs,
WindowsAuthenticationModule.cs, PassportAuthenticationModule.cs,
RoleManagerModule.cs: do not use synthetized event accessors (to
avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
TraceContext.cs: do not use synthetized event accessors (to avoid
locks).
2008-05-30 Marek Habersack <[email protected]>
* SessionStateModule.cs: do not use synthetized event accessors
(to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* ProfileModule.cs: do not use synthetized event accessors (to
avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* SessionStateModule.cs: do not use synthetized event accessors
(to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
use synthetized event accessors (to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* ClientBuildManager.cs: do not use synthetized event accessors
(to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* CacheDependency.cs: do not use synthetized event accessors (to
avoid locks).
svn path=/trunk/mcs/; revision=104569
* FormsAuthenticationModule.cs: Move initialization of _config out
of Init() as app.Context is null in that method when a session is
about to be terminated.
svn path=/trunk/mcs/; revision=75387
* RoleManagerModule.cs, UrlAuthorizationModule.cs, FormsAuthenticationModule.cs: refactored configuration section to be a member of a class
svn path=/trunk/mcs/; revision=74728
* FormsAuthenticationModule.cs: ignore any exception thrown when mapping
the provided virtual path to the physical one. Patch by Cyrille Colin.
svn path=/trunk/mcs/; revision=54323
* 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.
svn path=/trunk/mcs/; revision=49819
* 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
* FormsAuthenticationModule.cs: allow accessing other files in the
directory where the login page is. Fixes bug #71871.
svn path=/trunk/mcs/; revision=39947
* 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
* 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