diff options
| author | Robert Gemmell <robbie@apache.org> | 2010-06-17 16:04:11 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2010-06-17 16:04:11 +0000 |
| commit | 8c90c1b263f429d49069cdf96e61dc25c1d80c5a (patch) | |
| tree | 0361db4d40694be981d20451559d26336be30756 /qpid/java/broker-plugins/simple-xml/src | |
| parent | 02a9968ed318e240a8865f7ade91aa9dc5cf9f0f (diff) | |
| download | qpid-python-8c90c1b263f429d49069cdf96e61dc25c1d80c5a.tar.gz | |
QPID-2665: Remove BROKER from object types for plugins
Applied patch from Andrew Kennedy <andrew.international@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-plugins/simple-xml/src')
| -rw-r--r-- | qpid/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java b/qpid/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java index c9a476c5f2..ab43653122 100644 --- a/qpid/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java +++ b/qpid/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java @@ -371,7 +371,7 @@ public class SimpleXML extends AbstractPlugin } // Authorise object access - if (objectType == ObjectType.BROKER || objectType == ObjectType.VIRTUALHOST) + if (objectType == ObjectType.VIRTUALHOST) { return principalPermissions.authorise(Permission.ACCESS); } |
