sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-jcr-jackrabbit-usermanager] 08/28: SLING-995 Applying patch by Ian Boston (thanks)
Date Tue, 07 Nov 2017 09:48:08 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 3a343977faa1797e38d09c6928155ffe768ec6b9
Author: Felix Meschberger <fmeschbe@apache.org>
AuthorDate: Tue Jun 9 10:25:51 2009 +0000

    SLING-995 Applying patch by Ian Boston (thanks)
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/sling/trunk/bundles/jcr/jackrabbit-usermanager@782947
13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/jackrabbit/usermanager/resource/AuthorizableResource.java | 4 ++--
 .../usermanager/resource/AuthorizableResourceProvider.java          | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResource.java
b/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResource.java
index aac15c5..39b7559 100644
--- a/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResource.java
+++ b/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResource.java
@@ -49,9 +49,9 @@ public class AuthorizableResource extends SlingAdaptable implements Resource
{
         this.authorizable = authorizable;
         this.path = path;
         if (authorizable.isGroup()) {
-            this.resourceType = "sling:group";
+            this.resourceType = "sling/group";
         } else {
-            this.resourceType = "sling:user";
+            this.resourceType = "sling/user";
         }
 
         this.metadata = new ResourceMetadata();
diff --git a/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResourceProvider.java
b/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResourceProvider.java
index b1eeb13..fd5b953 100644
--- a/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResourceProvider.java
+++ b/src/main/java/org/apache/sling/jackrabbit/usermanager/resource/AuthorizableResourceProvider.java
@@ -93,11 +93,11 @@ public class AuthorizableResourceProvider implements ResourceProvider
{
         // handle resources for the virtual container resources
         if (path.equals(SYSTEM_USER_MANAGER_PATH)) {
             return new SyntheticResource(resourceResolver, path,
-                "sling:userManager");
+                "sling/userManager");
         } else if (path.equals(SYSTEM_USER_MANAGER_USER_PATH)) {
-            return new SyntheticResource(resourceResolver, path, "sling:users");
+            return new SyntheticResource(resourceResolver, path, "sling/users");
         } else if (path.equals(SYSTEM_USER_MANAGER_GROUP_PATH)) {
-            return new SyntheticResource(resourceResolver, path, "sling:groups");
+            return new SyntheticResource(resourceResolver, path, "sling/groups");
         }
 
         // the principalId should be the first segment after the prefix

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message