summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Connection.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-30 22:22:50 +0000
committerGordon Sim <gsim@apache.org>2010-06-30 22:22:50 +0000
commit35e26207bc5db7947c0d1a1abb05c4aba5c0e463 (patch)
tree9b3824c51f08a29e9cc509c20f1bee9c030300d3 /cpp/include/qpid/messaging/Connection.h
parente5b931c37b591ed19fa5a63afd2d05d6f1fca13e (diff)
downloadqpid-python-35e26207bc5db7947c0d1a1abb05c4aba5c0e463.tar.gz
QPID-664: expose authenticated username for connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959461 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/messaging/Connection.h')
-rw-r--r--cpp/include/qpid/messaging/Connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/Connection.h b/cpp/include/qpid/messaging/Connection.h
index 5af4628fa8..6f2cd54b4b 100644
--- a/cpp/include/qpid/messaging/Connection.h
+++ b/cpp/include/qpid/messaging/Connection.h
@@ -98,6 +98,7 @@ class Connection : public qpid::messaging::Handle<ConnectionImpl>
QPID_MESSAGING_EXTERN Session createSession(const std::string& name = std::string());
QPID_MESSAGING_EXTERN Session getSession(const std::string& name) const;
+ QPID_MESSAGING_EXTERN std::string getAuthenticatedUsername();
private:
friend class qpid::messaging::PrivateImplRef<Connection>;