tomcat7.0
14 years agoRemove unnecessary code that makes switching to other authentication methods difficult.
markt [Tue, 22 Mar 2011 08:46:00 +0000 (08:46 +0000)]
Remove unnecessary code that makes switching to other authentication methods difficult.

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

14 years agoMake the CSRF nonce cache serializable to fix an issue reported on the users list.
markt [Mon, 21 Mar 2011 22:08:47 +0000 (22:08 +0000)]
Make the CSRF nonce cache serializable to fix an issue reported on the users list.
Custom serialization code could shave ~20% but the code isn't as clean.

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

14 years agoAdd a recent change
markt [Mon, 21 Mar 2011 19:15:27 +0000 (19:15 +0000)]
Add a recent change

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

14 years agoFurther additions to mbeans and docs for authentication valves
markt [Mon, 21 Mar 2011 17:46:38 +0000 (17:46 +0000)]
Further additions to mbeans and docs for authentication valves

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

14 years agoRemove unused code
markt [Mon, 21 Mar 2011 17:26:48 +0000 (17:26 +0000)]
Remove unused code

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

14 years agoSync with implementation
markt [Mon, 21 Mar 2011 17:12:05 +0000 (17:12 +0000)]
Sync with implementation

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

14 years agoImprove the logging documentation
kkolinko [Sat, 19 Mar 2011 03:00:38 +0000 (03:00 +0000)]
Improve the logging documentation

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

14 years agoImprove the logging documentation
kkolinko [Fri, 18 Mar 2011 15:22:08 +0000 (15:22 +0000)]
Improve the logging documentation

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

14 years agoRemove random "
markt [Wed, 16 Mar 2011 18:26:40 +0000 (18:26 +0000)]
Remove random "

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50927
markt [Wed, 16 Mar 2011 09:30:10 +0000 (09:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50927
Better error message if SSLCertificateFile not set

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50929
markt [Tue, 15 Mar 2011 23:05:53 +0000 (23:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50929
When wrapping an exception, set the root cause

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50925
markt [Tue, 15 Mar 2011 23:00:54 +0000 (23:00 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50925
Update docs for keyPass attribute

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

14 years agoChain exception
markt [Tue, 15 Mar 2011 22:53:36 +0000 (22:53 +0000)]
Chain exception

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50928
markt [Tue, 15 Mar 2011 22:51:10 +0000 (22:51 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50928
Don't ignore keyPass attribute

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

14 years agoHandle the scenario where the client sends multiple JSESSIONID cookies. This patch...
markt [Tue, 15 Mar 2011 20:49:44 +0000 (20:49 +0000)]
Handle the scenario where the client sends multiple JSESSIONID cookies. This patch trades a little duplication for simpler code. The duplication only occurs when the client sends multiple cookies and the request is to a context that currently has multiple versions.

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

14 years agoCorrect a typo in changelog for 7.0.9
kkolinko [Tue, 15 Mar 2011 18:37:24 +0000 (18:37 +0000)]
Correct a typo in changelog for 7.0.9

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50903
markt [Tue, 15 Mar 2011 17:48:15 +0000 (17:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50903
If a connector is stopped, not not process any keep-alive connections. The exact behaviours are:
- HTTP BIO - blocks until request line is read and then returns 503
- HTTP NIO - uses polling, so returns 503 immediately connector is stopped
- HTTP APR - blocks until request line is read and then returns 503
- AJP BIO - blocks until request packet is received and then returns 503 - subsequent requests will timeout
- AJP APR - no change - subsequent requests will timeout

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

14 years agoFollowup to markt's r1081239:
kkolinko [Tue, 15 Mar 2011 14:07:27 +0000 (14:07 +0000)]
Followup to markt's r1081239:
update the doc for CrawlerSessionManagerValve

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

14 years agoInclude clean-up under a single entry
markt [Tue, 15 Mar 2011 13:58:21 +0000 (13:58 +0000)]
Include clean-up under a single entry

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

14 years agoMore FindBugs warnings
markt [Tue, 15 Mar 2011 13:56:35 +0000 (13:56 +0000)]
More FindBugs warnings

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

14 years agoFix FindBugs nag
markt [Tue, 15 Mar 2011 13:31:43 +0000 (13:31 +0000)]
Fix FindBugs nag

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

14 years agoFix a couple of FindBBugs warnings
markt [Tue, 15 Mar 2011 13:23:13 +0000 (13:23 +0000)]
Fix a couple of FindBBugs warnings

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

14 years agoRemove unused code
markt [Tue, 15 Mar 2011 13:10:33 +0000 (13:10 +0000)]
Remove unused code
Fix some Eclipse warnings

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

14 years agoBetter comment
markt [Tue, 15 Mar 2011 12:58:04 +0000 (12:58 +0000)]
Better comment

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

14 years agoAdd recent change
markt [Tue, 15 Mar 2011 09:44:17 +0000 (09:44 +0000)]
Add recent change

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

14 years agoThe name for the default host does not have to be resolvable in DNS.
markt [Tue, 15 Mar 2011 09:42:37 +0000 (09:42 +0000)]
The name for the default host does not have to be resolvable in DNS.

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

14 years agoFix typo
markt [Mon, 14 Mar 2011 14:25:14 +0000 (14:25 +0000)]
Fix typo

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

14 years agoFix typos, remove whitespace
markt [Mon, 14 Mar 2011 12:47:26 +0000 (12:47 +0000)]
Fix typos, remove whitespace

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50924
markt [Mon, 14 Mar 2011 12:39:01 +0000 (12:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50924
Clean-up HTTP comparison table

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

14 years agoRemove whitespace
markt [Mon, 14 Mar 2011 11:30:35 +0000 (11:30 +0000)]
Remove whitespace

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

14 years agoCouple of updates
markt [Mon, 14 Mar 2011 00:29:41 +0000 (00:29 +0000)]
Couple of updates

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

14 years agoUpdate to the current ASF bot pattern
markt [Mon, 14 Mar 2011 00:28:29 +0000 (00:28 +0000)]
Update to the current ASF bot pattern

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

14 years agoSome bots (Google) send an invalid session ID
markt [Mon, 14 Mar 2011 00:27:48 +0000 (00:27 +0000)]
Some bots (Google) send an invalid session ID

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

14 years agoFix typo
markt [Sun, 13 Mar 2011 23:10:18 +0000 (23:10 +0000)]
Fix typo

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

14 years agoDon't log to standard out
markt [Sun, 13 Mar 2011 14:08:05 +0000 (14:08 +0000)]
Don't log to standard out

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50887
markt [Sun, 13 Mar 2011 14:01:34 +0000 (14:01 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50887
Add support for configuring the JSSE provider used to convert client certificates.
Based on a patch by pknopp.

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

14 years agoFix typo
markt [Sat, 12 Mar 2011 10:32:11 +0000 (10:32 +0000)]
Fix typo

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

14 years agoAlign code and comments - no functional change
markt [Sat, 12 Mar 2011 10:27:49 +0000 (10:27 +0000)]
Align code and comments - no functional change

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

14 years agoAlign code and comments - no functional change
markt [Sat, 12 Mar 2011 10:10:44 +0000 (10:10 +0000)]
Align code and comments - no functional change

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

14 years agoPrep for next release
markt [Sat, 12 Mar 2011 09:39:20 +0000 (09:39 +0000)]
Prep for next release

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

14 years agoDon't unpack WAR files if they are not located in the Host's appBase.
markt [Fri, 11 Mar 2011 18:40:13 +0000 (18:40 +0000)]
Don't unpack WAR files if they are not located in the Host's appBase.

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

14 years agoBetter handling for invalid context paths in server.xml
markt [Fri, 11 Mar 2011 18:30:14 +0000 (18:30 +0000)]
Better handling for invalid context paths in server.xml

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50911
markt [Fri, 11 Mar 2011 17:38:19 +0000 (17:38 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50911
Reduce noise generated during the build of the Windows installer so warnings are more obvious.
Patch provided by sebb

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

14 years agoLibrary updates
markt [Fri, 11 Mar 2011 16:27:45 +0000 (16:27 +0000)]
Library updates

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

14 years agoWill be released later today
markt [Fri, 11 Mar 2011 11:42:53 +0000 (11:42 +0000)]
Will be released later today

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

14 years agoFollowup to r1079781
kkolinko [Fri, 11 Mar 2011 00:57:25 +0000 (00:57 +0000)]
Followup to r1079781
s/&/&/ in HTML files

HTML allows both variants, but let's be more strict.

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

14 years agoA pair of typos
kkolinko [Fri, 11 Mar 2011 00:39:25 +0000 (00:39 +0000)]
A pair of typos

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

14 years agosvn:eol-style, as noted by sebb
kkolinko [Thu, 10 Mar 2011 12:27:05 +0000 (12:27 +0000)]
svn:eol-style, as noted by sebb

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

14 years agoReady for next release
markt [Thu, 10 Mar 2011 11:11:38 +0000 (11:11 +0000)]
Ready for next release

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

14 years agostatus is always null, so simplify
markt [Thu, 10 Mar 2011 10:34:09 +0000 (10:34 +0000)]
status is always null, so simplify

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

14 years agoCorrect a typo
kkolinko [Thu, 10 Mar 2011 10:07:43 +0000 (10:07 +0000)]
Correct a typo

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

14 years agocorrect message key
kfujino [Thu, 10 Mar 2011 08:31:51 +0000 (08:31 +0000)]
correct message key

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

14 years agoFix Async with APR and TCP_DEFER_ACCEPT
markt [Wed, 9 Mar 2011 22:36:55 +0000 (22:36 +0000)]
Fix Async with APR and TCP_DEFER_ACCEPT

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

14 years agoFix typo
markt [Wed, 9 Mar 2011 19:01:08 +0000 (19:01 +0000)]
Fix typo

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

14 years agoFix exception destroying a stopped connector.
markt [Wed, 9 Mar 2011 18:49:02 +0000 (18:49 +0000)]
Fix exception destroying a stopped connector.

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

14 years agoTry and make test pass more reliably. This works an 8-core Windows box and a 1-core...
markt [Wed, 9 Mar 2011 18:30:07 +0000 (18:30 +0000)]
Try and make test pass more reliably. This works an 8-core Windows box and a 1-core Linux VM

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

14 years agoSpeed up unit tests on Linux
markt [Wed, 9 Mar 2011 17:27:02 +0000 (17:27 +0000)]
Speed up unit tests on Linux

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

14 years agoSession attributes were only partially changed from Hashtable to ConcurrentHashMap.
rjung [Wed, 9 Mar 2011 17:09:50 +0000 (17:09 +0000)]
Session attributes were only partially changed from Hashtable to ConcurrentHashMap.

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

14 years agoFix some unit test failures
markt [Wed, 9 Mar 2011 15:35:18 +0000 (15:35 +0000)]
Fix some unit test failures

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

14 years agoBetter overriding support
markt [Wed, 9 Mar 2011 15:34:51 +0000 (15:34 +0000)]
Better overriding support

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

14 years agoFix TCK test failure under a security Manager
markt [Wed, 9 Mar 2011 15:00:07 +0000 (15:00 +0000)]
Fix TCK test failure under a security Manager

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

14 years agoFix some test failures.
markt [Wed, 9 Mar 2011 14:48:29 +0000 (14:48 +0000)]
Fix some test failures.
Don't use load() since that creates a whole bunch of edge cases that need to be handled.

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

14 years agoAdd forgotten attribute "sessionCookieName" to context config docs.
rjung [Wed, 9 Mar 2011 14:07:53 +0000 (14:07 +0000)]
Add forgotten attribute "sessionCookieName" to context config docs.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50895
markt [Wed, 9 Mar 2011 13:52:07 +0000 (13:52 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50895
Don't initialize classes during compilation

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50893
markt [Wed, 9 Mar 2011 13:05:05 +0000 (13:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50893
Additional information for extras package

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

14 years agoCVE-2011-1088
markt [Wed, 9 Mar 2011 12:20:58 +0000 (12:20 +0000)]
CVE-2011-1088
Fix unit test failures

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50854
markt [Wed, 9 Mar 2011 11:38:38 +0000 (11:38 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50854
Add additional permissions required by the Manager application when running under a security Manager and support a shared Manager installation when $CATALINA_HOME != CATALINA_BASE.

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

14 years agoCVE-2011-1088
markt [Wed, 9 Mar 2011 11:16:48 +0000 (11:16 +0000)]
CVE-2011-1088
Complete the fix for this issue. The optimisation not to configure an authenticator of there were no security constraints meant that in that case @ServletSecurity annotations had no effect. The unit tests did not pick this up since they added an authenticator directly.
Add an explicit unit test for this scenario.

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

14 years agoThis was only a partial fix.
markt [Wed, 9 Mar 2011 10:56:40 +0000 (10:56 +0000)]
This was only a partial fix.

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

14 years agoDocs: Move "allowCasualMultipartParsing",
rjung [Wed, 9 Mar 2011 05:38:23 +0000 (05:38 +0000)]
Docs: Move "allowCasualMultipartParsing",
"swallowAbortedUploads" and "swallowOutput"
from StandardContext to Context.

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

14 years agoFix alphabetic order.
rjung [Wed, 9 Mar 2011 05:24:04 +0000 (05:24 +0000)]
Fix alphabetic order.

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

14 years agoConsistent Ordering.
rjung [Wed, 9 Mar 2011 05:21:34 +0000 (05:21 +0000)]
Consistent Ordering.
No functional change.

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

14 years agoRename new method.
rjung [Wed, 9 Mar 2011 05:05:36 +0000 (05:05 +0000)]
Rename new method.

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

14 years agoReduce visibility of field with public getter
rjung [Tue, 8 Mar 2011 22:27:45 +0000 (22:27 +0000)]
Reduce visibility of field with public getter
and setter.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=25060
markt [Tue, 8 Mar 2011 22:15:34 +0000 (22:15 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=25060
When stopping naming resources look for DataSource resources with a zero-arg close() method and call it if one is found
Works with Commons DBCP.

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

14 years agor1079367 was a little too enthusiastic.
markt [Tue, 8 Mar 2011 21:32:58 +0000 (21:32 +0000)]
r1079367 was a little too enthusiastic.
The "if (!initialized)" tests weren't required by the init() call are

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

14 years agoNew context attribute "swallowAbortedUploads" allows
rjung [Tue, 8 Mar 2011 17:18:16 +0000 (17:18 +0000)]
New context attribute "swallowAbortedUploads" allows
to make request data swallowing configurable for requests
that are too large.

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

14 years agoExpose the global naming context for all Server implementations
markt [Tue, 8 Mar 2011 15:58:53 +0000 (15:58 +0000)]
Expose the global naming context for all Server implementations

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

14 years agoAdd release dates
markt [Tue, 8 Mar 2011 15:39:29 +0000 (15:39 +0000)]
Add release dates

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

14 years agoAdd the CVE info for 7.0.10
markt [Tue, 8 Mar 2011 15:37:36 +0000 (15:37 +0000)]
Add the CVE info for 7.0.10

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

14 years agoAlign SSL init for BIO and NIO.
markt [Tue, 8 Mar 2011 15:19:19 +0000 (15:19 +0000)]
Align SSL init for BIO and NIO.
Fixes https://issues.apache.org/bugzilla/show_bug.cgi?id=48208 for NIO.
Adds support for keyPass, truststoreProvider & keystoreProvider

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

14 years agoRemove some unused code
markt [Tue, 8 Mar 2011 14:21:41 +0000 (14:21 +0000)]
Remove some unused code

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

14 years agoAdd the hooks (no implementation yet) for BIO and NIO to share the code that is curre...
markt [Tue, 8 Mar 2011 14:03:20 +0000 (14:03 +0000)]
Add the hooks (no implementation yet) for BIO and NIO to share the code that is currently in JSSESocketFactory

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

14 years agoFix build failure and don't tie NIO connector to a single SSL implementation
markt [Tue, 8 Mar 2011 14:02:03 +0000 (14:02 +0000)]
Fix build failure and don't tie NIO connector to a single SSL implementation

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

14 years agoBetter Javadoc
markt [Tue, 8 Mar 2011 13:50:46 +0000 (13:50 +0000)]
Better Javadoc

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

14 years agoRemove JSSEFactory. Now we no longer need to support older JSSE versions, this layer...
markt [Tue, 8 Mar 2011 13:50:07 +0000 (13:50 +0000)]
Remove JSSEFactory. Now we no longer need to support older JSSE versions, this layer of abstraction is not required.

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

14 years agoDon't swallow exceptions when they are not expected
markt [Tue, 8 Mar 2011 12:10:44 +0000 (12:10 +0000)]
Don't swallow exceptions when they are not expected

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

14 years agoAdd missing message
markt [Tue, 8 Mar 2011 11:28:15 +0000 (11:28 +0000)]
Add missing message

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

14 years agoRefactor to address https://issues.apache.org/bugzilla/show_bug.cgi?id=48208#c13
markt [Tue, 8 Mar 2011 11:15:37 +0000 (11:15 +0000)]
Refactor to address https://issues.apache.org/bugzilla/show_bug.cgi?id=48208#c13
Don't configure a TrustManagerFactory instance if it isn't going to be used.

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

14 years agoRestore the ability to register the Tomcat jndi URL handler via the java.protocol...
markt [Tue, 8 Mar 2011 11:04:38 +0000 (11:04 +0000)]
Restore the ability to register the Tomcat jndi URL handler via the java.protocol.handler.pkgs system property.

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

14 years agoRemove unused code
markt [Mon, 7 Mar 2011 22:18:02 +0000 (22:18 +0000)]
Remove unused code

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

14 years agoFix some warnings
markt [Mon, 7 Mar 2011 17:42:52 +0000 (17:42 +0000)]
Fix some warnings

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

14 years agoFix Eclipse and FindBugs warnings
markt [Mon, 7 Mar 2011 16:46:45 +0000 (16:46 +0000)]
Fix Eclipse and FindBugs warnings
Removed unused code

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

14 years agoCode cleanup
markt [Mon, 7 Mar 2011 14:55:22 +0000 (14:55 +0000)]
Code cleanup
- remove unused code
- fix FindBugs warnings
- fix Eclipse warnings

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

14 years agoFix Eclipse warnings
markt [Mon, 7 Mar 2011 14:24:08 +0000 (14:24 +0000)]
Fix Eclipse warnings

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

14 years agoAnother FindBugs false positive
markt [Mon, 7 Mar 2011 11:56:19 +0000 (11:56 +0000)]
Another FindBugs false positive

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=26701
markt [Sun, 6 Mar 2011 22:12:10 +0000 (22:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=26701
Provide a mechanism for users to register their own URLStreamHandlerFactory objects.

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

14 years agoClean-up, mainly unused code
markt [Sun, 6 Mar 2011 22:02:28 +0000 (22:02 +0000)]
Clean-up, mainly unused code

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

14 years agoRemove unused code
markt [Sun, 6 Mar 2011 17:37:30 +0000 (17:37 +0000)]
Remove unused code

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

14 years agoMake more efficient / fix FindBugs nag
markt [Sun, 6 Mar 2011 17:35:12 +0000 (17:35 +0000)]
Make more efficient / fix FindBugs nag

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