summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/SaslFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/SaslFactory.h')
-rw-r--r--cpp/src/qpid/SaslFactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/SaslFactory.h b/cpp/src/qpid/SaslFactory.h
index 8554597147..da7e892f1d 100644
--- a/cpp/src/qpid/SaslFactory.h
+++ b/cpp/src/qpid/SaslFactory.h
@@ -26,7 +26,7 @@
#include <memory>
namespace qpid {
-
+class SaslServer;
/**
* Factory for instances of the Sasl interface through which Sasl
* support is provided to a ConnectionHandler.
@@ -35,6 +35,7 @@ class SaslFactory
{
public:
QPID_COMMON_EXTERN std::auto_ptr<Sasl> create(const std::string & userName, const std::string & password, const std::string & serviceName, const std::string & hostName, int minSsf, int maxSsf, bool allowInteraction=true );
+ QPID_COMMON_EXTERN std::auto_ptr<SaslServer> createServer(const std::string& realm, bool encryptionRequired, const qpid::sys::SecuritySettings&);
QPID_COMMON_EXTERN static SaslFactory& getInstance();
QPID_COMMON_EXTERN ~SaslFactory();
private: