Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F92B9F74 for ; Thu, 27 Oct 2011 17:57:15 +0000 (UTC) Received: (qmail 48599 invoked by uid 500); 27 Oct 2011 17:57:15 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 48568 invoked by uid 500); 27 Oct 2011 17:57:14 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 48561 invoked by uid 99); 27 Oct 2011 17:57:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 17:57:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 17:57:12 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0236923889EA; Thu, 27 Oct 2011 17:56:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1189896 - in /sling/trunk/bundles/jcr/davex/src/main: java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java resources/OSGI-INF/metatype/metatype.properties Date: Thu, 27 Oct 2011 17:56:50 -0000 To: commits@sling.apache.org From: justin@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111027175651.0236923889EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: justin Date: Thu Oct 27 17:56:50 2011 New Revision: 1189896 URL: http://svn.apache.org/viewvc?rev=1189896&view=rev Log: SLING-2256 - making the missing-auth-mapping parameter configurable Modified: sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java sling/trunk/bundles/jcr/davex/src/main/resources/OSGI-INF/metatype/metatype.properties Modified: sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java?rev=1189896&r1=1189895&r2=1189896&view=diff ============================================================================== --- sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java (original) +++ sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java Thu Oct 27 17:56:50 2011 @@ -48,12 +48,12 @@ import org.osgi.service.http.HttpService * service registry. * */ -@Component(label = "%dav.name", description = "%dav.description") -@Properties( { @Property(name = "alias", value = "/server"), - @Property(name = "init.resource-path-prefix", value = "/server"), +@Component(label = "%dav.name", description = "%dav.description", metatype = true) +@Properties( { @Property(name = "alias", value = "/server", propertyPrivate = true), + @Property(name = "init.resource-path-prefix", value = "/server", propertyPrivate = true), @Property(name = "init.missing-auth-mapping", value = ""), - @Property(name = "service.description", value = "Sling JcrRemoting Servlet"), - @Property(name = "service.vendor", value = "The Apache Software Foundation") }) + @Property(name = "service.description", value = "Sling JcrRemoting Servlet", propertyPrivate = true), + @Property(name = "service.vendor", value = "The Apache Software Foundation", propertyPrivate = true) }) public class SlingDavExServlet extends JcrRemotingServlet { private static final String INIT_KEY_PREFIX = "init."; Modified: sling/trunk/bundles/jcr/davex/src/main/resources/OSGI-INF/metatype/metatype.properties URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/davex/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=1189896&r1=1189895&r2=1189896&view=diff ============================================================================== --- sling/trunk/bundles/jcr/davex/src/main/resources/OSGI-INF/metatype/metatype.properties (original) +++ sling/trunk/bundles/jcr/davex/src/main/resources/OSGI-INF/metatype/metatype.properties Thu Oct 27 17:56:50 2011 @@ -33,6 +33,10 @@ dav.description = The DavEx Servlet allo requests to this servlet do not pass by the Sling Main Servlet and request \ processing. +init.missing-auth-mapping.name = missing-auth-mapping +init.missing-auth-mapping.description = The value for the missing-auth-mapping \ + init parameter. + dav.root.name = Root Path dav.root.description = The root path at which the DavEx Servlet is \ accessible. The default value is "/server".