Author: ajaquith
Date: Wed Jun 11 23:25:42 2008
New Revision: 666971
URL: http://svn.apache.org/viewvc?rev=666971&view=rev
Log:
Web unit tests refactored (yet again) to use an embedded Jetty server. This
replaces the need to use a separate Tomcat server, and *should* always work
without any configuration of any kind. Please tests this via the Ant 'webtests'
target! Note that this checkin introduces the TestContainer class, which with a
little modification (later, please!) could easily be used as a stand-alone
server. Refactorings are welcome; in the meantime, TestContainer should be
considered volatile. Note also that the Rename Profile web unit tests for the
container scenarios currently fails; all others run successfully.
Modified:
incubator/jspwiki/trunk/etc/web.xml
Modified: incubator/jspwiki/trunk/etc/web.xml
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/etc/web.xml?rev=666971&r1=666970&r2=666971&view=diff
==============================================================================
--- incubator/jspwiki/trunk/etc/web.xml (original)
+++ incubator/jspwiki/trunk/etc/web.xml Wed Jun 11 23:25:42 2008
@@ -294,10 +294,11 @@
either way, as long as they match.
Note that accessing protected resources will cause your
- container to try to use SSL to secure the web session.
- This, of course, assumes your web container (or web server)
- is configured with SSL support. If you do not wish to use SSL,
- remove the "user-data-constraint" elements.
+ container to try to use SSL (default port for Tomcat is 8443)
+ to secure the web session. This, of course, assumes your
+ web container (or web server) is configured with SSL support.
+ If you do not wish to use SSL, remove the "user-data-constraint"
+ elements.
-->
<!-- REMOVE ME TO ENABLE CONTAINER-MANAGED AUTH