tomcat7.0
15 years agoFix regression (JSP TCK failure) with fix for bug 47453
markt [Tue, 22 Dec 2009 21:17:41 +0000 (21:17 +0000)]
Fix regression (JSP TCK failure) with fix for bug 47453

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893321 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix MD5s for windows zips
markt [Tue, 22 Dec 2009 19:04:25 +0000 (19:04 +0000)]
Fix MD5s for windows zips

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893273 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReview file extensions present in src distro and amend list of text file extensions...
markt [Tue, 22 Dec 2009 18:37:22 +0000 (18:37 +0000)]
Review file extensions present in src distro and amend list of text file extensions accordingly

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893263 13f79535-47bb-0310-9956-ffa450edef68

15 years agoJSP 2.2 implementation (partial)
markt [Tue, 22 Dec 2009 15:44:54 +0000 (15:44 +0000)]
JSP 2.2 implementation (partial)
 - JSP 3.3.9  - Default content type
 - JSP 3.3.10 - Default buffer size
 - JSP 3.3.11 - Error on undeclared namespace

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893209 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCatalina only needs to know about JSP URL patterns. Jasper will take care of the...
markt [Tue, 22 Dec 2009 15:43:31 +0000 (15:43 +0000)]
Catalina only needs to know about JSP URL patterns. Jasper will take care of the rest.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893208 13f79535-47bb-0310-9956-ffa450edef68

15 years agoConfirm that this was a typo
markt [Tue, 22 Dec 2009 15:16:17 +0000 (15:16 +0000)]
Confirm that this was a typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893200 13f79535-47bb-0310-9956-ffa450edef68

15 years agoConfirm that this was a typo
markt [Tue, 22 Dec 2009 15:15:26 +0000 (15:15 +0000)]
Confirm that this was a typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893198 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix second part of Comment 8 in https://issues.apache.org/bugzilla/show_bug.cgi?id...
kkolinko [Mon, 21 Dec 2009 21:51:29 +0000 (21:51 +0000)]
Fix second part of Comment 8 in https://issues.apache.org/bugzilla/show_bug.cgi?id=47413#c8
Coerce result of composite EL expression (${a}${b}) from String to the expected type.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893001 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd a page that illustrates EL Composite Expressions ("${a}${b}") to the Examples...
kkolinko [Mon, 21 Dec 2009 20:28:45 +0000 (20:28 +0000)]
Add a page that illustrates EL Composite Expressions ("${a}${b}") to the Examples web application

This was designed as a reproducer for http://issues.apache.org/bugzilla/show_bug.cgi?id=47413
Currently Composite ELs are correctly evaluated to Strings, but their coercion to the resulting type is broken.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892968 13f79535-47bb-0310-9956-ffa450edef68

15 years agoOnly unload JDBC drivers this web app loaded.
markt [Mon, 21 Dec 2009 17:15:41 +0000 (17:15 +0000)]
Only unload JDBC drivers this web app loaded.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892887 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix some comment typos.
rjung [Mon, 21 Dec 2009 15:02:07 +0000 (15:02 +0000)]
Fix some comment typos.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892843 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSecond followup to r892341
kkolinko [Mon, 21 Dec 2009 13:31:46 +0000 (13:31 +0000)]
Second followup to r892341
Small improvements, based on sebb's and my comments.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892817 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFirst followup to r892341
kkolinko [Mon, 21 Dec 2009 13:26:52 +0000 (13:26 +0000)]
First followup to r892341
Replace tabs with spaces in the lines changed in that revision.
No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892814 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unneeded line from the method that normalizes decodedURI.
kkolinko [Mon, 21 Dec 2009 13:20:01 +0000 (13:20 +0000)]
Remove unneeded line from the method that normalizes decodedURI.

The line "uriBC.setBytes(b, start, end);" is wrong, as it should have been "uriBC.setBytes(b, start, end - start);". I suppose that it worked because in the only place that calls this normalize() method the value of 'start' was always equal to zero.

Instead of fixing, I am removing that line, because it actually is not needed there at all, thanks to the uriBC.setEnd() calls above it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892812 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix comment typo
markt [Mon, 21 Dec 2009 13:19:58 +0000 (13:19 +0000)]
Fix comment typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892811 13f79535-47bb-0310-9956-ffa450edef68

15 years agoVarious related (un)deploy improvements including:
markt [Mon, 21 Dec 2009 12:25:14 +0000 (12:25 +0000)]
Various related (un)deploy improvements including:
 - better handling of failed (un)deployment
 - adding checking for valid zip file entries that don't make sense in a WAR file
 - improved validation of WAR file names
 - make sure error messages match the action
 - the return from File.getCanonicalPath() may or may not return a final separator for directories

This fixes CVE-2009-2693, CVE-2009-2901 & CVE-2009-2902

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892795 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReview comments and minor typos
markt [Mon, 21 Dec 2009 10:38:16 +0000 (10:38 +0000)]
Review comments and minor typos

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892747 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup for rev.892612
kkolinko [Mon, 21 Dec 2009 06:29:40 +0000 (06:29 +0000)]
Followup for rev.892612
Better fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
Tab character is also allowed in the reason-phrase
Also, use more traditional method of iterating over a string.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892707 13f79535-47bb-0310-9956-ffa450edef68

15 years agoComment typo
markt [Sun, 20 Dec 2009 17:38:28 +0000 (17:38 +0000)]
Comment typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892621 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBetter fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
markt [Sun, 20 Dec 2009 17:21:06 +0000 (17:21 +0000)]
Better fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892612 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTab police. No functional change.
markt [Sun, 20 Dec 2009 16:41:22 +0000 (16:41 +0000)]
Tab police. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892609 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRevert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963 pending a...
markt [Sun, 20 Dec 2009 16:35:10 +0000 (16:35 +0000)]
Revert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963 pending a better solution

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892607 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48399
markt [Sun, 20 Dec 2009 03:46:02 +0000 (03:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48399
Make locks final
Patch by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892558 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix javadoc
markt [Sun, 20 Dec 2009 03:29:20 +0000 (03:29 +0000)]
Fix javadoc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892557 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48413
markt [Sun, 20 Dec 2009 02:47:37 +0000 (02:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48413
Correct translations
Patch provided by AndrĂ© Warnier

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892555 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix typo
markt [Sat, 19 Dec 2009 23:05:36 +0000 (23:05 +0000)]
Fix typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892523 13f79535-47bb-0310-9956-ffa450edef68

15 years agostart not -start, stop not -stop
markt [Sat, 19 Dec 2009 11:34:16 +0000 (11:34 +0000)]
start not -start, stop not -stop

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892464 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to rev.889716
kkolinko [Sat, 19 Dec 2009 01:43:29 +0000 (01:43 +0000)]
Followup to rev.889716
The new AuthenticatorBase property needs a setter.
Also, corrected a javadoc misprint.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892415 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47930
markt [Fri, 18 Dec 2009 18:42:09 +0000 (18:42 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47930
Make swapIn thread safe so parallel requests for the same session don't result in multiple session objects for one sesison.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892341 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd in support to link up the connection pool to a DataSource or XADataSource through...
fhanik [Fri, 18 Dec 2009 18:12:50 +0000 (18:12 +0000)]
Add in support to link up the connection pool to a DataSource or XADataSource through JNDI

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892330 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect version is needed
fhanik [Fri, 18 Dec 2009 18:11:37 +0000 (18:11 +0000)]
Correct version is needed

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892329 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix some Eclipse warnings in the tests
markt [Fri, 18 Dec 2009 17:34:43 +0000 (17:34 +0000)]
Fix some Eclipse warnings in the tests

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892321 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix the redundant superinterface warnings. Just cleanup, No functional change.
markt [Fri, 18 Dec 2009 17:23:00 +0000 (17:23 +0000)]
Fix the redundant superinterface warnings. Just cleanup, No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892320 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
markt [Fri, 18 Dec 2009 16:13:28 +0000 (16:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
Anything that could end up in an HTTP header must meet the requirements of RFC2616.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892293 13f79535-47bb-0310-9956-ffa450edef68

15 years agoClean up duplicates and unused strings
markt [Fri, 18 Dec 2009 09:49:32 +0000 (09:49 +0000)]
Clean up duplicates and unused strings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892198 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMove test for null outside of classloader fun and games so we can exit earlier if...
markt [Fri, 18 Dec 2009 09:28:01 +0000 (09:28 +0000)]
Move test for null outside of classloader fun and games so we can exit earlier if there is no session

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892193 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to rev.883362, fixing https://issues.apache.org/bugzilla/show_bug.cgi?id...
kkolinko [Thu, 17 Dec 2009 08:43:25 +0000 (08:43 +0000)]
Followup to rev.883362, fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=48113
Rename method argument.
The method prints bytes as unsigned values, not as "int"s as the old name implied.
Based on the patch by Quintin Beukes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891583 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix unclosed tag.
kkolinko [Thu, 17 Dec 2009 04:38:25 +0000 (04:38 +0000)]
Fix unclosed tag.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891533 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to rev.883125
kkolinko [Thu, 17 Dec 2009 04:05:24 +0000 (04:05 +0000)]
Followup to rev.883125
Additional fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47609
Add patterns for textual files without extension
Remove an extra comma

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891529 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake SSL config JVM neutral. Based on a suggestion from Ivan.
markt [Wed, 16 Dec 2009 11:17:30 +0000 (11:17 +0000)]
Make SSL config JVM neutral. Based on a suggestion from Ivan.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891190 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix bug 47841: CombinedRealm fails to switch to other realm
markt [Wed, 16 Dec 2009 11:05:09 +0000 (11:05 +0000)]
Fix bug 47841: CombinedRealm fails to switch to other realm
https://issues.apache.org/bugzilla/show_bug.cgi?id=47841
Handle failure of sub-realm during combined realm start

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891187 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSide issues from bug 47841
markt [Wed, 16 Dec 2009 11:04:24 +0000 (11:04 +0000)]
Side issues from bug 47841
Override getInfo() log messages that use it have useful info
Add support for a connectionTimeout attribute

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891186 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSide issue from bug 47841
markt [Wed, 16 Dec 2009 11:02:54 +0000 (11:02 +0000)]
Side issue from bug 47841
Overrides getInfo() in Realms so log messages that use it have useful info

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891185 13f79535-47bb-0310-9956-ffa450edef68

15 years agobad Fido, bad Fido
fhanik [Tue, 15 Dec 2009 23:14:23 +0000 (23:14 +0000)]
bad Fido, bad Fido

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@891065 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
markt [Mon, 14 Dec 2009 22:54:20 +0000 (22:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
Ensure any session listeners are called with the Thread CCL set to the web application's class loader

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890530 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSession timeout is now set via a String
markt [Mon, 14 Dec 2009 22:31:30 +0000 (22:31 +0000)]
Session timeout is now set via a String

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890509 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48387
markt [Mon, 14 Dec 2009 21:18:34 +0000 (21:18 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48387
Make configuration attributes consistent between Filter and Valves
Patch provided by Cyrille Le Clerc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890483 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix TLD scanning in JARs for JspC. This copies the DefaultJarScanner from Tomcat...
markt [Mon, 14 Dec 2009 21:12:35 +0000 (21:12 +0000)]
Fix TLD scanning in JARs for JspC. This copies the DefaultJarScanner from Tomcat. Less invasive than the alternative refactoring that will have to wait for another day.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890479 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd extra jar required for JspC
markt [Mon, 14 Dec 2009 21:06:02 +0000 (21:06 +0000)]
Add extra jar required for JspC

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890477 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect TLD URIs
markt [Mon, 14 Dec 2009 20:48:21 +0000 (20:48 +0000)]
Correct TLD URIs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890474 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix copy/paste error in log definition
markt [Mon, 14 Dec 2009 19:21:06 +0000 (19:21 +0000)]
Fix copy/paste error in log definition

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890449 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
markt [Mon, 14 Dec 2009 18:04:54 +0000 (18:04 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
Reword JNDI docs in an attempt to make clear why resource-ref elements appear to be optional

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890417 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47744
markt [Mon, 14 Dec 2009 14:53:00 +0000 (14:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47744
Prevent medium term memory leak when ussing SSL with a security manager
Based on a patch by Greg Vanore

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890350 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPre-load a class required for apps to obtain the SSL key size when running under...
markt [Mon, 14 Dec 2009 14:51:12 +0000 (14:51 +0000)]
Pre-load a class required for apps to obtain the SSL key size when running under a security manager

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890349 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTest for null rather than waiting for the NPE ot be thrown.
markt [Mon, 14 Dec 2009 10:37:01 +0000 (10:37 +0000)]
Test for null rather than waiting for the NPE ot be thrown.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890265 13f79535-47bb-0310-9956-ffa450edef68

15 years agoOnly apply filtering to the files that need it else non-text files will get corrupted.
markt [Mon, 14 Dec 2009 10:00:23 +0000 (10:00 +0000)]
Only apply filtering to the files that need it else non-text files will get corrupted.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890256 13f79535-47bb-0310-9956-ffa450edef68

15 years agoOne more week of (almost 20%) hacking on tomcat-lite:
costin [Mon, 14 Dec 2009 07:35:57 +0000 (07:35 +0000)]
One more week of (almost 20%) hacking on tomcat-lite:
- protocol handler is almost useable with both tomcat7 and 6.x. It's missing most options of the other
connectors - will need to select what fits with 'lite', SSL is not hooked
- run the old watchdog tests ( in junit form ) - they seem to catch few problems, improved a bit the
runner to make eclipse happy.
- few load tests - and associated fixes.

If anyone tries it out with maven - one test will look for examples webapp, the one in tomcat7 has
a RequestDumperFilter that needs to be commented out. Ant runs more tests - some are failing. For
either - you need a build of the watchdog.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890206 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48381
markt [Sun, 13 Dec 2009 23:03:32 +0000 (23:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48381
Add a note about case of host name

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890141 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=43656
markt [Sun, 13 Dec 2009 22:48:20 +0000 (22:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43656
Correctly coerce null to zero when Number is the required type.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890139 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove empty dir
markt [Sun, 13 Dec 2009 19:41:38 +0000 (19:41 +0000)]
Remove empty dir

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890101 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake init param name consistent
markt [Sat, 12 Dec 2009 19:49:40 +0000 (19:49 +0000)]
Make init param name consistent

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889966 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIgnores if building module in Eclipse
markt [Sat, 12 Dec 2009 19:48:33 +0000 (19:48 +0000)]
Ignores if building module in Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889965 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCleanup of unused method and parameter
markt [Fri, 11 Dec 2009 17:33:27 +0000 (17:33 +0000)]
Cleanup of unused method and parameter

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889719 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAddress session fixation by changing the session ID on authentication. This is enable...
markt [Fri, 11 Dec 2009 17:30:59 +0000 (17:30 +0000)]
Address session fixation by changing the session ID on authentication. This is enabled by default. This should be safe since this also happens when sessions migrate between nodes in a cluster. If an app can't handle a changing ID, then the feature can be disabled in the authenticator.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889716 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove docs for valve that was replaced with filter
markt [Fri, 11 Dec 2009 17:14:26 +0000 (17:14 +0000)]
Remove docs for valve that was replaced with filter

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889707 13f79535-47bb-0310-9956-ffa450edef68

16 years agoJARs without any web.xml fragments should not impact the status of distributable
markt [Fri, 11 Dec 2009 17:04:36 +0000 (17:04 +0000)]
JARs without any web.xml fragments should not impact the status of distributable

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889701 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47656
markt [Fri, 11 Dec 2009 13:47:10 +0000 (13:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47656
Add information on system property replacement in config files.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889615 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47537
markt [Fri, 11 Dec 2009 13:12:57 +0000 (13:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47537
Return an error page if a forward during form auth fails rather than a zero length 200 response.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889606 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUse the right class for the logger
markt [Fri, 11 Dec 2009 12:47:13 +0000 (12:47 +0000)]
Use the right class for the logger

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889596 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48373
markt [Fri, 11 Dec 2009 12:17:27 +0000 (12:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48373
Patch suggested by wujunchen

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889587 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48370
markt [Fri, 11 Dec 2009 12:14:05 +0000 (12:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48370
Remove some unused imports

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889585 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate procrun to 2.0.6
mturk [Fri, 11 Dec 2009 07:51:09 +0000 (07:51 +0000)]
Update procrun to 2.0.6

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889525 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47507
markt [Thu, 10 Dec 2009 18:46:39 +0000 (18:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47507
Document the UserDatabaseRealm, in particular the readonly attribute of UserDartabase resources.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889363 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48324
markt [Thu, 10 Dec 2009 16:59:29 +0000 (16:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48324
Correct JavaDoc. Patch by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889336 13f79535-47bb-0310-9956-ffa450edef68

16 years agoInclude the version on the homepage.
markt [Thu, 10 Dec 2009 10:53:13 +0000 (10:53 +0000)]
Include the version on the homepage.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889179 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrect TODO - thanks sebb
markt [Tue, 8 Dec 2009 17:59:57 +0000 (17:59 +0000)]
Correct TODO - thanks sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888499 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix a couple of potential NPEs
markt [Tue, 8 Dec 2009 00:29:50 +0000 (00:29 +0000)]
Fix a couple of potential NPEs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888203 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore post-refactoring recurrsion protection
markt [Mon, 7 Dec 2009 19:26:03 +0000 (19:26 +0000)]
More post-refactoring recurrsion protection

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888097 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd missing part of recurrsion patch
markt [Mon, 7 Dec 2009 19:12:18 +0000 (19:12 +0000)]
Add missing part of recurrsion patch

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888092 13f79535-47bb-0310-9956-ffa450edef68

16 years agoShutdown the handlers used by webapps otherwise log messages in the buffer just get...
markt [Mon, 7 Dec 2009 18:48:27 +0000 (18:48 +0000)]
Shutdown the handlers used by webapps otherwise log messages in the buffer just get lost.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888072 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore clean up
markt [Mon, 7 Dec 2009 17:22:24 +0000 (17:22 +0000)]
More clean up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888027 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove remains of generic package
markt [Mon, 7 Dec 2009 17:11:10 +0000 (17:11 +0000)]
Remove remains of generic package
More clean up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@888010 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore BCEL pruning
markt [Mon, 7 Dec 2009 16:56:00 +0000 (16:56 +0000)]
More BCEL pruning

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887998 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd support for WebFilter
markt [Mon, 7 Dec 2009 16:43:25 +0000 (16:43 +0000)]
Add support for WebFilter
Remove wrappers to implement isAsyncSupported() having found the setAttribute() code
It is individual filters rather than the whole filter chain that need to be considered for isAsyncSupported

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887992 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd annotation support for WebListener
markt [Mon, 7 Dec 2009 14:25:21 +0000 (14:25 +0000)]
Add annotation support for WebListener

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887931 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd annotation support for WebServlet
markt [Mon, 7 Dec 2009 14:18:29 +0000 (14:18 +0000)]
Add annotation support for WebServlet

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887929 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd async-supported impl for Servlets
markt [Mon, 7 Dec 2009 14:17:14 +0000 (14:17 +0000)]
Add async-supported impl for Servlets

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887928 13f79535-47bb-0310-9956-ffa450edef68

16 years agoA little more cleanup. UCDetector claims there is no more to clean. I'm not yet convi...
markt [Mon, 7 Dec 2009 14:14:49 +0000 (14:14 +0000)]
A little more cleanup. UCDetector claims there is no more to clean. I'm not yet convinced.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887927 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTypo
markt [Mon, 7 Dec 2009 12:49:56 +0000 (12:49 +0000)]
Typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887913 13f79535-47bb-0310-9956-ffa450edef68

16 years agoLast cleanup of unused code for today. Still more todo.
markt [Sun, 6 Dec 2009 01:03:55 +0000 (01:03 +0000)]
Last cleanup of unused code for today. Still more todo.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887625 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore unused code removal.
markt [Sun, 6 Dec 2009 00:19:52 +0000 (00:19 +0000)]
More unused code removal.
Still not complete.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887613 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove unused code identified by Eclipse / UCDetector.
markt [Sat, 5 Dec 2009 23:22:46 +0000 (23:22 +0000)]
Remove unused code identified by Eclipse / UCDetector.
Not complete - still more to remove.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887610 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove some unused classes identified by the unused code detector
markt [Fri, 4 Dec 2009 20:23:13 +0000 (20:23 +0000)]
Remove some unused classes identified by the unused code detector

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887344 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDon't need the Vistor and associated support
markt [Fri, 4 Dec 2009 18:56:38 +0000 (18:56 +0000)]
Don't need the Vistor and associated support

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887319 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove the verifier
markt [Fri, 4 Dec 2009 18:12:33 +0000 (18:12 +0000)]
Remove the verifier

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887307 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImport a package renamed Jakarta BCEL trunk to do the annotation scanning.
markt [Fri, 4 Dec 2009 17:59:52 +0000 (17:59 +0000)]
Import a package renamed Jakarta BCEL trunk to do the annotation scanning.
There is far more functionality here than is required. The excess will be removed as development progresses.
The import has been done via svn copy so future updates should be easy via svn merge.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887302 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImport a a package renamed Jakarta BCEL trunk to do the annotation scanning. There...
markt [Fri, 4 Dec 2009 17:49:49 +0000 (17:49 +0000)]
Import a a package renamed Jakarta BCEL trunk to do the annotation scanning. There is a lot of fat still to be trimmed.
This was done as an svn copy so future updates should be simple via svn merge.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887296 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix the Eclipse warnings
markt [Fri, 4 Dec 2009 13:51:52 +0000 (13:51 +0000)]
Fix the Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887197 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNeed to strip /hostname/contextpath before trying to list resources
markt [Fri, 4 Dec 2009 13:50:36 +0000 (13:50 +0000)]
Need to strip /hostname/contextpath before trying to list resources

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887195 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNew Jar in Java 7
markt [Fri, 4 Dec 2009 10:17:06 +0000 (10:17 +0000)]
New Jar in Java 7

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@887147 13f79535-47bb-0310-9956-ffa450edef68