Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C844B108C4 for ; Thu, 16 Jan 2014 09:59:50 +0000 (UTC) Received: (qmail 56565 invoked by uid 500); 16 Jan 2014 09:59:47 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 56516 invoked by uid 500); 16 Jan 2014 09:59:46 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 56506 invoked by uid 99); 16 Jan 2014 09:59:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 09:59:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 09:59:43 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 3BA022388868; Thu, 16 Jan 2014 09:59:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1558729 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/security/ResourceAccessSecurity.java Date: Thu, 16 Jan 2014 09:59:22 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140116095922.3BA022388868@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 {@link #PROVIDER_CONTEXT}. + * This property is required and has no default value. * (value is "access.context") */ String CONTEXT = "access.context";