summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
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
commit62a1dcddbc7f087df2d8cd1ee19f8f4b5c50bc3d (patch)
tree5db3b475ce576d41c7b13570b67e3db4f9d49aa9 /qpid/cpp/include
parent0787688bfce0afdfba92b3143fffae9bf652bf1d (diff)
downloadqpid-python-62a1dcddbc7f087df2d8cd1ee19f8f4b5c50bc3d.tar.gz
QPID-664: expose authenticated username for connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@959461 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/messaging/Connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/messaging/Connection.h b/qpid/cpp/include/qpid/messaging/Connection.h
index 5af4628fa8..6f2cd54b4b 100644
--- a/qpid/cpp/include/qpid/messaging/Connection.h
+++ b/qpid/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>;