summaryrefslogtreecommitdiff
path: root/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
commit2e1dceecfe6ed1bd8441f0b4449dea5b9b40a495 (patch)
tree9b3824c51f08a29e9cc509c20f1bee9c030300d3 /cpp/include
parent2e0decdf234d5cf10a42453be02532756ac95aa9 (diff)
downloadqpid-python-2e1dceecfe6ed1bd8441f0b4449dea5b9b40a495.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')
-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>;