jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r448251 - /jackrabbit/trunk/jcr-server/webapp/src/webapp/WEB-INF/web.xml
Date Wed, 20 Sep 2006 16:18:41 GMT
Author: angela
Date: Wed Sep 20 09:18:40 2006
New Revision: 448251

URL: http://svn.apache.org/viewvc?view=rev&rev=448251
Log:
missing-auth-mapping is defined with wrong servlet.

Modified:
    jackrabbit/trunk/jcr-server/webapp/src/webapp/WEB-INF/web.xml

Modified: jackrabbit/trunk/jcr-server/webapp/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/webapp/src/webapp/WEB-INF/web.xml?view=diff&rev=448251&r1=448250&r2=448251
==============================================================================
--- jackrabbit/trunk/jcr-server/webapp/src/webapp/WEB-INF/web.xml (original)
+++ jackrabbit/trunk/jcr-server/webapp/src/webapp/WEB-INF/web.xml Wed Sep 20 09:18:40 2006
@@ -118,25 +118,6 @@
         </init-param>
 
         <!--
-        <init-param>
-            <param-name>missing-auth-mapping</param-name>
-            <param-value>anonymous:anonymous</param-value>
-            <description>
-                Defines how a missing authorization header should be handled.
-                1) If this init-param is missing, a 401 response is generated.
-                   This is suiteable for clients (eg. webdav clients) for which
-                   sending a proper authorization header is not possible if the
-                   server never sent a 401.
-                2) If this init-param is present with an empty value,
-                   null-credentials are returned, thus forcing an null login
-                   on the repository.
-                3) If this init-param has a 'user:password' value, the respective
-                   simple credentials are generated.
-            </description>
-        </init-param>
-        -->
-
-        <!--
             JNDI environment variables for creating the initial context
             (all init parameters starting with java.naming.* will be added to the initial
context environment).
         -->
@@ -181,6 +162,24 @@
             </description>
         </init-param>
         <!--
+         <init-param>
+             <param-name>missing-auth-mapping</param-name>
+             <param-value>anonymous:anonymous</param-value>
+             <description>
+                 Defines how a missing authorization header should be handled.
+                 1) If this init-param is missing, a 401 response is generated.
+                    This is suiteable for clients (eg. webdav clients) for which
+                    sending a proper authorization header is not possible if the
+                    server never sent a 401.
+                 2) If this init-param is present with an empty value,
+                    null-credentials are returned, thus forcing an null login
+                    on the repository.
+                 3) If this init-param has a 'user:password' value, the respective
+                    simple credentials are generated.
+             </description>
+         </init-param>
+         -->
+        <!--
             Optional parameter to define the value of the 'WWW-Authenticate' header
         -->
         <!--
@@ -217,6 +216,25 @@
         </description>
         <servlet-class>org.apache.jackrabbit.j2ee.JCRWebdavServerServlet</servlet-class>
         <!--
+         <init-param>
+             <param-name>missing-auth-mapping</param-name>
+             <param-value>anonymous:anonymous</param-value>
+             <description>
+                 Defines how a missing authorization header should be handled.
+                 1) If this init-param is missing, a 401 response is generated.
+                    This is suiteable for clients (eg. webdav clients) for which
+                    sending a proper authorization header is not possible if the
+                    server never sent a 401.
+                 2) If this init-param is present with an empty value,
+                    null-credentials are returned, thus forcing an null login
+                    on the repository.
+                 3) If this init-param has a 'user:password' value, the respective
+                    simple credentials are generated.
+             </description>
+         </init-param>
+         -->
+
+        <!--
             Optional parameter to define the value of the 'WWW-Authenticate' header
         -->
         <!--
@@ -228,6 +246,7 @@
             </description>
         </init-param>
         -->
+
         <init-param>
             <param-name>resource-path-prefix</param-name>
             <param-value>/server</param-value>



Mime
View raw message