You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2014/01/16 10:59:22 UTC

svn commit: r1558729 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java

Author: cziegeler
Date: Thu Jan 16 09:59:21 2014
New Revision: 1558729

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

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java?rev=1558729&r1=1558728&r2=1558729&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java Thu Jan 16 09:59:21 2014
@@ -31,9 +31,8 @@ import aQute.bnd.annotation.ProviderType
  *
  * A resource access security service is registered with the service
  * property {@link #CONTEXT}. Allowed values are {@link #APPLICATION_CONTEXT}
- * and {@link #PROVIDER_CONTEXT}. If the value is missing it defaults
- * to {@link #PROVIDER_CONTEXT}. Services registered with an invalid
- * value, will be ignored.
+ * and {@link #PROVIDER_CONTEXT}. If the value is missing or invalid,
+ * the service will be ignored.
  *
  * In the context of resource providers, this service might be used
  * for implementations of resource providers where the underlying persistence
@@ -58,7 +57,7 @@ public interface ResourceAccessSecurity 
      * The name of the service registration property containing the context
      * of this service. Allowed values are {@link #APPLICATION_CONTEXT} and
      * {@link #PROVIDER_CONTEXT}.
-     * The default for this value is <code>{@link #PROVIDER_CONTEXT}</code>.
+     * This property is required and has no default value.
      * (value is "access.context")
      */
     String CONTEXT = "access.context";