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:34:31 UTC

[sling-org-apache-sling-featureflags] 12/25: SLING-2698 - resource access security service for resource providers. Distinguish between context application and provider

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.featureflags-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-featureflags.git

commit 62d89be69430185a6db537bf1d501d09146a1aab
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Jan 16 10:05:34 2014 +0000

    SLING-2698 - resource access security service for resource providers. Distinguish between context application and provider
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/feature-flags@1558734 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java b/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
index 2dd05f1..8772cf3 100644
--- a/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
+++ b/src/main/java/org/apache/sling/featureflags/impl/ResourceAccessImpl.java
@@ -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.resourceaccesssecurity.ResourceAccessGate;
  */
 @Component
 @Service(value=ResourceAccessGate.class)
+@Property(name=ResourceAccessGate.CONTEXT, value=ResourceAccessGate.APPLICATION_CONTEXT)
 public class ResourceAccessImpl
     extends AllowingResourceAccessGate
     implements ResourceAccessGate {

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