remm 01/05/15 01:17:24
Modified: src/conf/webapp web.xml
Log:
- Provides a simple configuration parameter in build.properties that (if
uncommented) causes the WAR to be built with a web.xml that has
authentication on by default.
Patch submitted by Peter Hawkins.
Revision Changes Path
1.6 +2 -2 jakarta-slide/src/conf/webapp/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/conf/webapp/web.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- web.xml 2001/05/14 06:55:02 1.5
+++ web.xml 2001/05/15 08:17:20 1.6
@@ -392,7 +392,7 @@
<!-- Uncomment this to get authentication -->
- <!--security-constraint>
+ <@AUTH@security-constraint>
<web-resource-collection>
<web-resource-name>DAV resource</web-resource-name>
<url-pattern>/*</url-pattern>
@@ -431,6 +431,6 @@
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Slide DAV Server</realm-name>
- </login-config-->
+ </login-config@AUTH@>
</web-app>