qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject [2/4] qpid-broker-j git commit: QPID-7923: [Java Broker] [ACL] Mark Queue#getConsumers and getPublishingLink as not requiring an ACL check.
Date Wed, 27 Sep 2017 13:12:53 GMT
QPID-7923: [Java Broker] [ACL] Mark Queue#getConsumers and getPublishingLink as not requiring
an ACL check.

Queue#getConsumers returns information that was available without an explict ACL permission
in previous release. This
change avoids breaking compatibility with existing rule-sets.


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/0dad8495
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/0dad8495
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/0dad8495

Branch: refs/heads/master
Commit: 0dad8495a2960c38251b2a393e52922696abd8e4
Parents: 9c44860
Author: Keith Wall <kwall@apache.org>
Authored: Wed Sep 27 11:41:26 2017 +0100
Committer: Keith Wall <kwall@apache.org>
Committed: Wed Sep 27 11:42:43 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/qpid/server/model/Queue.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/0dad8495/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java
----------------------------------------------------------------------
diff --git a/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java b/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java
index e146466..855603e 100644
--- a/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java
+++ b/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java
@@ -309,12 +309,12 @@ public interface Queue<X extends Queue<X>> extends ConfiguredObject<X>,
             mandatory = true)
     OverflowPolicy getOverflowPolicy();
 
-    @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false)
+    @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false, skipAclCheck
= true)
     Collection<PublishingLink> getPublishingLinks();
 
 
     @Override
-    @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false)
+    @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false, skipAclCheck
= true)
     Collection<QueueConsumer<?,?>> getConsumers();
 
     //operations


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message