You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2015/05/27 14:43:36 UTC

svn commit: r1682001 - /sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java

Author: bdelacretaz
Date: Wed May 27 12:43:36 2015
New Revision: 1682001

URL: http://svn.apache.org/r1682001
Log:
Mention that ResourceAccessSecurity should only be used if there's no other way

Modified:
    sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java

Modified: sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java?rev=1682001&r1=1682000&r2=1682001&view=diff
==============================================================================
--- sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java (original)
+++ sling/whiteboard/cziegeler/api-v3/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java Wed May 27 12:43:36 2015
@@ -70,9 +70,8 @@ public abstract class ResourceProvider<T
     /**
      * The name of the service registration property containing a boolean
      * flag indicating if the ResourceAccessSecurity service should be used for
-     * this provider or not. ResourceProvider implementations are encouraged
-     * to use the ResourceAccessSecurity service for access control unless
-     * the underlying storage already provides it.
+     * this provider or not. ResourceAccessSecurity should only be used if the 
+     * underlying storage does not provide access control
      * The default for this value is <code>false</code>.
      * (value is "provider.useResourceAccessSecurity")
      */