incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
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 GMT
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".



Mime
View raw message