diff options
| author | Gordon Sim <gsim@apache.org> | 2013-06-25 13:28:15 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-06-25 13:28:15 +0000 |
| commit | 35cb597c315b5bc3e17611cb40fe8492b0a4e45c (patch) | |
| tree | 39d79c9ec301089de7b4471d23245f92bf10a0d1 /cpp/src/qpid/broker/SemanticState.cpp | |
| parent | 167069c6d6eb3ca2c5f997cbb16f296302160ad7 (diff) | |
| download | qpid-python-35cb597c315b5bc3e17611cb40fe8492b0a4e45c.tar.gz | |
QPID-4712: authorisation for AMQP 1.0 connections
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1496466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 54069df591..dd7a25aaa4 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -22,7 +22,7 @@ #include "qpid/broker/SessionState.h" #include "qpid/broker/Broker.h" -#include "qpid/broker/Connection.h" +#include "qpid/broker/amqp_0_10/Connection.h" #include "qpid/broker/DeliverableMessage.h" #include "qpid/broker/DtxAck.h" #include "qpid/broker/DtxTimeout.h" @@ -83,7 +83,7 @@ SemanticState::SemanticState(SessionState& ss) authMsg(getSession().getBroker().getOptions().auth && !getSession().getConnection().isUserProxyAuth()), userID(getSession().getConnection().getUserId()), closeComplete(false), - connectionId(getSession().getConnection().getUrl()) + connectionId(getSession().getConnection().getMgmtId()) {} SemanticState::~SemanticState() { |
