This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.jcr.davex-1.3.8
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-davex.git

commit 53511fac23702691fbbe9abaabef704e7310731a
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Jan 30 16:36:55 2017 +0000

    SLING-6499 - SlingDavExServlet protectedhandlers-config parameter not 
propagated to ServletConfig
    
    Ensure that protectedhandlers-config is marked as a servlet init parameter.
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/davex@1780935 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java 
b/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
index 67f7f30..0372d9b 100644
--- 
a/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
+++ 
b/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
@@ -126,7 +126,7 @@ public class SlingDavExServlet extends JcrRemotingServlet {
         initProps.put(toInitParamProperty(INIT_PARAM_RESOURCE_PATH_PREFIX), 
davRoot);
         initProps.put(toInitParamProperty(INIT_PARAM_CREATE_ABSOLUTE_URI), 
Boolean.toString(createAbsoluteUri));
         initProps.put(toInitParamProperty(INIT_PARAM_CSRF_PROTECTION), 
CSRFUtil.DISABLED);
-        initProps.put(INIT_PARAM_PROTECTED_HANDLERS_CONFIG, protectedHandlers);
+        
initProps.put(toInitParamProperty(INIT_PARAM_PROTECTED_HANDLERS_CONFIG), 
protectedHandlers);
         initProps.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_SERVLET_PATTERN, 
davRoot.concat("/*"));
         initProps.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT,
             "(" + HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME + "=" + 
AuthHttpContext.HTTP_CONTEXT_NAME + ")");

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to