incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1558734 - /sling/trunk/contrib/extensions/feature-flags/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
Date Thu, 16 Jan 2014 10:05:34 GMT
Author: cziegeler
Date: Thu Jan 16 10:05:34 2014
New Revision: 1558734

URL: http://svn.apache.org/r1558734
Log:
SLING-2698 - resource access security service for resource providers. Distinguish between
context application and provider

Modified:
    sling/trunk/contrib/extensions/feature-flags/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java

Modified: sling/trunk/contrib/extensions/feature-flags/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/feature-flags/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java?rev=1558734&r1=1558733&r2=1558734&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/feature-flags/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
(original)
+++ sling/trunk/contrib/extensions/feature-flags/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
Thu Jan 16 10:05:34 2014
@@ -19,6 +19,7 @@
 package org.apache.sling.featureflags.impl;
 
 import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Property;
 import org.apache.felix.scr.annotations.Reference;
 import org.apache.felix.scr.annotations.Service;
 import org.apache.sling.api.resource.Resource;
@@ -32,6 +33,7 @@ import org.apache.sling.resourceaccessse
  */
 @Component
 @Service(value=ResourceAccessGate.class)
+@Property(name=ResourceAccessGate.CONTEXT, value=ResourceAccessGate.APPLICATION_CONTEXT)
 public class ResourceAccessImpl
     extends AllowingResourceAccessGate
     implements ResourceAccessGate {



Mime
View raw message