You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:47:22 UTC
[sling-org-apache-sling-jcr-davex] 18/44: SLING-2256 - making the
missing-auth-mapping parameter configurable
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.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-davex.git
commit 3d342b59087b111db328528ef5fc09291cd00873
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Thu Oct 27 17:56:50 2011 +0000
SLING-2256 - making the missing-auth-mapping parameter configurable
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/davex@1189896 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/jcr/davex/impl/servlets/SlingDavExServlet.java | 10 +++++-----
src/main/resources/OSGI-INF/metatype/metatype.properties | 4 ++++
2 files changed, 9 insertions(+), 5 deletions(-)
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 e3e6ba7..ca57b25 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
@@ -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.";
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index de8962e..7f0c8f3 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -33,6 +33,10 @@ dav.description = The DavEx Servlet allows direct access to the \
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".
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.