summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/sys/Socket.h1
-rw-r--r--qpid/cpp/src/qpid/sys/posix/BSDSocket.cpp5
-rw-r--r--qpid/cpp/src/qpid/sys/posix/BSDSocket.h1
-rw-r--r--qpid/cpp/src/qpid/sys/windows/WinSocket.cpp5
-rw-r--r--qpid/cpp/src/qpid/sys/windows/WinSocket.h1
5 files changed, 13 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/sys/Socket.h b/qpid/cpp/src/qpid/sys/Socket.h
index 7d84209390..ed2c399c98 100644
--- a/qpid/cpp/src/qpid/sys/Socket.h
+++ b/qpid/cpp/src/qpid/sys/Socket.h
@@ -110,6 +110,7 @@ public:
/* Transport security related: */
virtual int getKeyLen() const = 0;
virtual std::string getClientAuthId() const = 0;
+ virtual std::string getLocalAuthId() const = 0;
};
/** Make the default socket for whatever platform we are executing on
diff --git a/qpid/cpp/src/qpid/sys/posix/BSDSocket.cpp b/qpid/cpp/src/qpid/sys/posix/BSDSocket.cpp
index 415c32bfa5..39eebc438e 100644
--- a/qpid/cpp/src/qpid/sys/posix/BSDSocket.cpp
+++ b/qpid/cpp/src/qpid/sys/posix/BSDSocket.cpp
@@ -276,4 +276,9 @@ std::string BSDSocket::getClientAuthId() const
return std::string();
}
+std::string BSDSocket::getLocalAuthId() const
+{
+ return "dummy";
+}
+
}} // namespace qpid::sys
diff --git a/qpid/cpp/src/qpid/sys/posix/BSDSocket.h b/qpid/cpp/src/qpid/sys/posix/BSDSocket.h
index 4fa2aef782..dcf99cbe4c 100644
--- a/qpid/cpp/src/qpid/sys/posix/BSDSocket.h
+++ b/qpid/cpp/src/qpid/sys/posix/BSDSocket.h
@@ -72,6 +72,7 @@ public:
QPID_COMMON_EXTERN int getKeyLen() const;
QPID_COMMON_EXTERN std::string getClientAuthId() const;
+ QPID_COMMON_EXTERN virtual std::string getLocalAuthId() const;
protected:
/** Create socket */
diff --git a/qpid/cpp/src/qpid/sys/windows/WinSocket.cpp b/qpid/cpp/src/qpid/sys/windows/WinSocket.cpp
index 331bd8f48c..a68c8978b1 100644
--- a/qpid/cpp/src/qpid/sys/windows/WinSocket.cpp
+++ b/qpid/cpp/src/qpid/sys/windows/WinSocket.cpp
@@ -278,4 +278,9 @@ std::string WinSocket::getClientAuthId() const
return std::string();
}
+std::string WinSocket::getLocalAuthId() const
+{
+ return "dummy";
+}
+
}} // namespace qpid::sys
diff --git a/qpid/cpp/src/qpid/sys/windows/WinSocket.h b/qpid/cpp/src/qpid/sys/windows/WinSocket.h
index 435f8de4c6..05cbd45911 100644
--- a/qpid/cpp/src/qpid/sys/windows/WinSocket.h
+++ b/qpid/cpp/src/qpid/sys/windows/WinSocket.h
@@ -100,6 +100,7 @@ public:
QPID_COMMON_EXTERN int getKeyLen() const;
QPID_COMMON_EXTERN std::string getClientAuthId() const;
+ QPID_COMMON_EXTERN std::string getLocalAuthId() const;
protected:
/** Create socket */