SLING-7816 The GetAclServlet and GetEffectiveAclServlet components
authorEric Norman <enorman@apache.org>
Wed, 8 Aug 2018 18:01:57 +0000 (11:01 -0700)
committerEric Norman <enorman@apache.org>
Wed, 8 Aug 2018 18:01:57 +0000 (11:01 -0700)
should be only mapped to the json extension

src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/post/GetAclServlet.java
src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/post/GetEffectiveAclServlet.java
src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/post/package-info.java

index 2bd7ba8..c2bd3d7 100644 (file)
@@ -103,7 +103,8 @@ property= {
                "sling.servlet.resourceTypes=sling/servlet/default",
                "sling.servlet.methods=GET",
                "sling.servlet.selectors=acl",
-               "sling.servlet.selectors=tidy.acl"
+               "sling.servlet.selectors=tidy.acl",
+               "sling.servlet.extensions=json"         
 })
 public class GetAclServlet extends AbstractGetAclServlet implements GetAcl {
        private static final long serialVersionUID = 3391376559396223185L;
index 3938fc8..264345a 100644 (file)
@@ -103,7 +103,8 @@ property= {
                "sling.servlet.resourceTypes=sling/servlet/default",
                "sling.servlet.methods=GET",
                "sling.servlet.selectors=eacl",
-               "sling.servlet.selectors=tidy.eacl"
+               "sling.servlet.selectors=tidy.eacl",
+               "sling.servlet.extensions=json"         
 })
 @SuppressWarnings("serial")
 public class GetEffectiveAclServlet extends AbstractGetAclServlet implements GetEffectiveAcl {
index c0361a1..708b13c 100644 (file)
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-@org.osgi.annotation.versioning.Version("3.0.0")
+@org.osgi.annotation.versioning.Version("3.0.1")
 package org.apache.sling.jcr.jackrabbit.accessmanager.post;