Commit Graph
38 Commits
Author SHA1 Message Date
Marek Habersack 9b7f969cf0 2007-03-20 Marek Habersack <[email protected]>
* FormsAuthentication.cs, Roles.cs: remove roles cookie on sign
	out. Fixes bug #81195. Patch from Mike Morano <[email protected]>.


svn path=/trunk/mcs/; revision=74670
2007-03-20 08:43:28 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Vladimir Krasnov 14ba6ea5ce * FormsAuthentication.cs: added internal ReturnUrl property, GetRedirectUrl added usage of ReturnUrl
* Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when

svn path=/trunk/mcs/; revision=70124
2006-12-27 14:04:34 +00:00
Vladimir Krasnov 947f8275d0 * FormsAuthentication.cs: TARGET_J2EE define for static members
svn path=/trunk/mcs/; revision=69411
2006-12-12 16:31:21 +00:00
Gonzalo Paniagua Javier 44e73724f6 2006-08-14 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: set the Secure attribute of the authentication
	cookie when required.


svn path=/trunk/mcs/; revision=63729
2006-08-14 16:19:33 +00:00
Konstantin Triger 23a4ecd4f1 Ensure initialized, fix url mapping.
svn path=/trunk/mcs/; revision=62305
2006-07-06 09:48:02 +00:00
Chris Toshok af89946383 In System.Web.Configuration.Internal:
2006-02-28  Chris Toshok  <[email protected]>

	* IInternalConfigWebHost.cs: corcompare work.

In System.Web.Configuration_2.0:
2006-02-28  Chris Toshok  <[email protected]>

	* BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.

In System.Web.Profile:
2006-02-28  Chris Toshok  <[email protected]>

	* ProfileBase.cs: corcompare work.

	* SqlProfileProvider.cs: add stubbed out file.

In System.Web.SessionState:
2006-02-28  Chris Toshok  <[email protected]>

	* SessionStateActions.cs: rename SessionStateActionFlags to this.

	* ISessionIDManager.cs: rename ISessionIDModule to this.

	* IStateRuntime.cs: corcompare work.

In System.Web.Security:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthentication.cs: corcompare work.

	* MembershipCreateUserException.cs: same.

	* MembershipPasswordException.cs: same.

	* AnonymousIdentificationModule.cs: same.

In System.Web.Configuration:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthPasswordFormat.cs: ifdef out the [Serializable] in the
	2.0 case.

In System.Web.Hosting:
2006-02-28  Chris Toshok  <[email protected]>

	* IAppDomainFactory.cs: corcompare work.

	* IAppManagerAppDomainFactory.cs: same

	* IISAPIRuntime.cs: same.

In System.Web.Management:
2006-02-28  Chris Toshok  <[email protected]>

	* SqlFeatures.cs: corcompare work

	* IRegiisUtility.cs: same.

	* WebEventFormatter.cs: same.

	* RuleFiringRecord.cs: same.

	* SessionStateType.cs: same.

	* WebApplicationInformtion.cs: same.

	* EventNotificationType.cs: same.

	* WebBaseEvent.cs: same.

	* IRegisterCreateITypeLib.cs: nuke


svn path=/trunk/mcs/; revision=57413
2006-02-28 18:56:23 +00:00
Chris Toshok d6d83474bc 2006-02-01 Chris Toshok <[email protected]>
* FormsAuthentication.cs, Membership.cs,
	FormsAuthenticationModule.cs, UrlAuthorizationModule.cs: oops,
	replace GetWebApplicationSection with GetSection.


svn path=/trunk/mcs/; revision=56420
2006-02-01 20:23:02 +00:00
Chris Toshok 563964ae5f 2006-02-01 Chris Toshok <[email protected]>
* FormsAuthentication.cs: CONFIGURATION_2_0 => NET_2_0.
	simplifies the ifdef mess quite a bit.

	* Membership.cs: same.

	* FormsAuthenticationModule.cs: same.

	* UrlAuthorizationModule.cs: same.


svn path=/trunk/mcs/; revision=56406
2006-02-01 19:11:25 +00:00
Chris Toshok 549bff7332 2006-01-04 Chris Toshok <[email protected]>
* FormsAuthentication.cs (Authenticate): add CONFIGURATION_2_0
	code.
	(Decrypt2): same.
	(Decrypt): same.
	(Encrypt): same.
	(Initialize): same.


svn path=/trunk/mcs/; revision=55053
2006-01-04 16:23:45 +00:00
Gonzalo Paniagua Javier fc52c911d8 2005-12-22 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: don't end the request in
	RedirectFromLoginPage.


svn path=/trunk/mcs/; revision=54719
2005-12-22 04:19:55 +00:00
Sebastien Pouliot 79f7f0a08c 2005-09-09 Sebastien Pouliot <[email protected]>
* 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
2005-09-09 19:00:26 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Gonzalo Paniagua Javier f0cc2e8150 2005-07-28 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: allow hardware acceleration support if
	available. Sebastien dixit.


svn path=/trunk/mcs/; revision=47819
2005-07-28 19:47:18 +00:00
Gonzalo Paniagua Javier ce12797961 2005-07-26 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-07-26 14:39:51 +00:00
Gonzalo Paniagua Javier 0ea93bc648 2005-07-25 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-07-25 08:42:40 +00:00
Gonzalo Paniagua Javier 5386976789 2005-07-25 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-07-25 05:49:40 +00:00
Sebastien Pouliot 91a3fc7f3a 2005-05-21 Sebastien Pouliot <[email protected]>
* FormsAuthentication.cs: Hash the UTF8 representation of the password
	strings (to be compatible with Microsoft implementation).


svn path=/trunk/mcs/; revision=44878
2005-05-22 00:12:13 +00:00
Gonzalo Paniagua Javier 1fba1be550 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs:
	* PassportAuthenticationModule.cs:
	* WindowsAuthenticationModule.cs: removed warnings.


svn path=/trunk/mcs/; revision=43363
2005-04-20 22:21:19 +00:00
Gonzalo Paniagua Javier 55e297f89d 2005-02-23 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: make the string to be stored in a config.
	file uppercase... See bug #72557.


svn path=/trunk/mcs/; revision=41123
2005-02-24 00:10:26 +00:00
Gonzalo Paniagua Javier aaa9efd15a 2005-02-06 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-02-06 17:29:31 +00:00
Gonzalo Paniagua Javier d5a52eb629 2004-08-23 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: patch by Jim Pease to fix the date on renewal.

svn path=/trunk/mcs/; revision=32708
2004-08-23 16:07:21 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Pedro Martínez Juliá 092ed65642 2004-06-12 Pedro Mart�nez Juli� <[email protected]>
* FormsAuthentication.cs: Undo last change.

svn path=/trunk/mcs/; revision=29423
2004-06-12 19:49:16 +00:00
Pedro Martínez Juliá da96842784 2004-06-12 Pedro Mart�nez Juli� <[email protected]>
* FormsAuthentication.cs: go to loginUrl from web.config settings               before try with the default ones.

-- MISTAKE --

svn path=/trunk/mcs/; revision=29422
2004-06-12 19:43:52 +00:00
Pedro Martínez Juliá ec20c001c4 2004-06-12 Pedro Mart�nez Juli� <[email protected]>
* FormsAuthentication.cs: go to loginUrl from web.config settings               before try with the default ones.

svn path=/trunk/mcs/; revision=29421
2004-06-12 19:41:52 +00:00
Gonzalo Paniagua Javier 9d76a57969 Warnings
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Gonzalo Paniagua Javier 07d221151b 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: added RequireSSL and SlidingExpiration.

svn path=/trunk/mcs/; revision=22422
2004-01-23 08:54:35 +00:00
Gonzalo Paniagua Javier 817a717054 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpUtility.cs:
	* System.Web/HttpValueCollection.cs: encoding fixes/updates.

	* System.Web/HttpWriter.cs: when updating the encoding, flush the
	existing stream. Encoding updates.

	* System.Web.Compilation/AspGenerator.cs: use fileEncoding from
	configuration files.

	* System.Web.Compilation/PageCompiler.cs: add assign statements for
	ContentType, ResponseEncoding and CodePage if supplied.

	* System.Web.Configuration/GlobalizationConfiguration.cs: added
	GetInstance method.

	* System.Web.Configuration/GlobalizationConfigurationHandler.cs: warn
	about unsupported encodings and provide reasonable defaults.

	* System.Web.Security/FormsAuthentication.cs: encoding updates.
	* System.Web.UI/LosFormatter.cs: encoding updates.
	* System.Web.UI/Page.cs: implemented CodePage and ContentType.
	* System.Web.UI/PageParser.cs: handle CodePage, ContentEncoding and
	ResponseEncoding attributes.

	* System.Web.Util/WebEncoding.cs: added properties to access
	configuration files encoding.

svn path=/trunk/mcs/; revision=19641
2003-11-05 07:49:02 +00:00
Gonzalo Paniagua Javier 9b098982cf 2003-02-12 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-02-12 03:39:46 +00:00
Gonzalo Paniagua Javier 845496d205 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* 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
2002-12-19 05:26:58 +00:00
Gonzalo Paniagua Javier 3d1ea510c1 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: implemented GetAuthCookie, SetAuthCookie,
	SignOut, FormsCookieName and FormsCookiePath.

svn path=/trunk/mcs/; revision=9742
2002-12-18 03:28:02 +00:00
Gonzalo Paniagua Javier dcfad7ede7 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* 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
2002-12-17 04:44:49 +00:00
Gonzalo Paniagua Javier 9e679a80e4 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.Security
	* System.Web.Security/DefaultAuthenticationEventHandler.cs:
	* System.Web.Security/DefaultAuthenticationModule.cs:
	* System.Web.Security/FileAuthorizationModule.cs:
	* System.Web.Security/FormsAuthentication.cs:
	* System.Web.Security/FormsAuthenticationEventArgs.cs:
	* System.Web.Security/FormsAuthenticationEventHandler.cs:
	* System.Web.Security/FormsAuthenticationModule.cs:
	* System.Web.Security/FormsAuthenticationTicket.cs:
	* System.Web.Security/FormsIdentity.cs:
	* System.Web.Security/PassportAuthenticationEventArgs.cs:
	* System.Web.Security/PassportAuthenticationEventHandler.cs:
	* System.Web.Security/PassportAuthenticationModule.cs:
	* System.Web.Security/PassportIdentity.cs:
	* System.Web.Security/UrlAuthorizationModule.cs:
	* System.Web.Security/WindowsAuthenticationEventArgs.cs:
	* System.Web.Security/WindowsAuthenticationEventHandler.cs:
	* System.Web.Security/WindowsAuthenticationModule.cs: new files. Some
	of them implemented, some others stubbed out.

svn path=/trunk/mcs/; revision=7073
2002-08-27 02:03:20 +00:00
Gaurav Vaish 2d27a32071 2002-03-26 Gaurav Vaish <[email protected]>
* 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
2002-03-26 02:38:49 +00:00
Gaurav Vaish ea05be005d 2002-03-17 Gaurav Vaish <[email protected]>
* Yups! Another milestone reached. System.Web assembly build successfully.

svn path=/trunk/mcs/; revision=3156
2002-03-17 04:44:47 +00:00
Gaurav Vaish 640cca0055 2002-03-05 Gaurav Vaish <[email protected]>
* I am screwed up. I will now go back and read some theory and develop
  some architecture before I proceed on.

svn path=/trunk/mcs/; revision=2903
2002-03-05 11:46:49 +00:00
Gaurav Vaish 3e6b661ec5 2002-03-05 Gaurav Vaish <[email protected]>
* *.cs -- *EventHandler.cs - Minor Corrections.

* Others -- Either complete, or first draft.

* ChangeLog, TODO -- Updated in accordance.

svn path=/trunk/mcs/; revision=2900
2002-03-05 11:17:46 +00:00