jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1353356 - in /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run: Main.java RepositoryServlet.java
Date Sun, 24 Jun 2012 22:27:49 GMT
Author: jukka
Date: Sun Jun 24 22:27:48 2012
New Revision: 1353356

URL: http://svn.apache.org/viewvc?rev=1353356&view=rev
Log:
OAK-104: HTTP bindings for Oak

Fix webdav and davex servlets at /webdav and /davex

Removed:
    jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run/RepositoryServlet.java
Modified:
    jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run/Main.java

Modified: jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run/Main.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run/Main.java?rev=1353356&r1=1353355&r2=1353356&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run/Main.java (original)
+++ jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/run/Main.java Sun
Jun 24 22:27:48 2012
@@ -147,7 +147,10 @@ public class Main {
                         }
                     });
             webdav.setInitParameter(
-                    RepositoryServlet.INIT_PARAM_MISSING_AUTH_MAPPING,
+                    SimpleWebdavServlet.INIT_PARAM_RESOURCE_PATH_PREFIX,
+                    path + "/webdav");
+            webdav.setInitParameter(
+                    SimpleWebdavServlet.INIT_PARAM_MISSING_AUTH_MAPPING,
                     "admin:admin");
             context.addServlet(webdav, path + "/webdav/*");
 
@@ -159,7 +162,10 @@ public class Main {
                         }
                     });
             davex.setInitParameter(
-                    RepositoryServlet.INIT_PARAM_MISSING_AUTH_MAPPING,
+                    JCRWebdavServerServlet.INIT_PARAM_RESOURCE_PATH_PREFIX,
+                    path + "/davex");
+            davex.setInitParameter(
+                    JCRWebdavServerServlet.INIT_PARAM_MISSING_AUTH_MAPPING,
                     "admin:admin");
             context.addServlet(davex, path + "/davex/*");
         }



Mime
View raw message