summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-07-20 19:56:42 +0000
committerAlan Conway <aconway@apache.org>2010-07-20 19:56:42 +0000
commit92e9a95e0aeb7d42f02f610a91890b1517f3c20b (patch)
treeb89b7734a404d77cec0f0024ed26045d57fde34b /qpid/cpp/xml
parenteeab496104a9e759de9c8b574bd81f24ff5b9f23 (diff)
downloadqpid-python-92e9a95e0aeb7d42f02f610a91890b1517f3c20b.tar.gz
Fix bug in cluster with authentication: nodes exit with "unauthorized-access"
Adding a node to a cluster on which authentication is enabled and on which there are existing connections authenticated with mechanisms other than anonymous, may result in nodes exiting the cluster with inconsistent authorisation errors. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@965979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/cluster.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index ecd4515558..9cbad82d61 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -159,11 +159,16 @@
- send shadow-ready to mark end of shadow update.
- send membership when entire update is complete.
-->
+ <!-- Send the user-id for an update connection. -->
+ <control name="shadow-set-user" code="0x0E">
+ <field name="user-id" type="str16"/>
+ </control>
+
<!-- Prepare to send a shadow connection with the given ID. -->
<control name="shadow-prepare" code="0x0F">
<field name="management-id" type="str16"/>
</control>
-
+
<!-- Consumer state that cannot be set by standard AMQP controls. -->
<control name="consumer-state" code="0x10">
<field name="name" type="str8"/>