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 2025/02/26 16:40:17 UTC

(sling-org-apache-sling-resourceaccesssecurity) branch issue/fix-javadoc created (now e978414)

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

rombert pushed a change to branch issue/fix-javadoc
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourceaccesssecurity.git


      at e978414  chore: fix javadoc

This branch includes the following new commits:

     new e978414  chore: fix javadoc

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(sling-org-apache-sling-resourceaccesssecurity) 01/01: chore: fix javadoc

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch issue/fix-javadoc
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourceaccesssecurity.git

commit e978414c45d2cd32ce9e290731e614dbc64cebef
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Feb 26 17:39:19 2025 +0100

    chore: fix javadoc
    
    The build currently fails on Jenkins/Java 11 due to javadoc errors.
---
 .../org/apache/sling/resourceaccesssecurity/ResourceAccessGate.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/sling/resourceaccesssecurity/ResourceAccessGate.java b/src/main/java/org/apache/sling/resourceaccesssecurity/ResourceAccessGate.java
index 3d7ffc4..9d32cce 100644
--- a/src/main/java/org/apache/sling/resourceaccesssecurity/ResourceAccessGate.java
+++ b/src/main/java/org/apache/sling/resourceaccesssecurity/ResourceAccessGate.java
@@ -44,7 +44,7 @@ import org.osgi.annotation.versioning.ConsumerType;
  * called ("read,create,update,delete,execute", default all of them)</li>
  * <li><b>finaloperations</b>: set of operations on which the service answer is
  * final and no further service should be called (default none of them), except
- * the GateResult is {@link GateResult.DONTCARE}</li>
+ * the GateResult is {@link GateResult.CANT_DECIDE}</li>
  * </ul>
  *
  * The resource access gate can either have the context {@link #PROVIDER_CONTEXT},
@@ -116,7 +116,7 @@ public interface ResourceAccessGate {
      * <ul>
      * <li>GRANTED: means no restrictions</li>
      * <li>DENIED: means no permission for the requested action</li>
-     * <li>DONTCARE: means that the implementation of the service has no
+     * <li>CANT_DECIDE: means that the implementation of the service has no
      * information or can't decide and therefore neither can't grant or deny
      * access</li>
      * </ul>
@@ -192,7 +192,7 @@ public interface ResourceAccessGate {
      *            the resource resolver which resolves the query
      * @return the transformed query or the original query if no tranformation
      *      took place. This method should never return <code>null</code>
-     * @throws AccessSecurityException
+     * @throws AccessSecurityException problem transforming the query
      */
     public String transformQuery(String query, String language,
             ResourceResolver resourceResolver) throws AccessSecurityException;