From 06b68da1908dda3c4e65651df0909becee5f62b1 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 17 Jan 2013 00:11:12 +0100 Subject: Fixed (ICE-5187) - Glacier2 SessionHelpers cannot load IceSSL plug-in from custom location --- cpp/src/Glacier2Lib/SessionHelper.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpp/src/Glacier2Lib/SessionHelper.cpp') diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp index 0184cc5828d..d43dfc6e27e 100644 --- a/cpp/src/Glacier2Lib/SessionHelper.cpp +++ b/cpp/src/Glacier2Lib/SessionHelper.cpp @@ -995,7 +995,12 @@ Glacier2::SessionFactoryHelper::createInitData() } initData.properties->setProperty("Ice.Default.Router", os.str()); #ifndef ICE_OS_WINRT - if(_secure) + // + // If using a secure connection setup the IceSSL plug-in, if IceSSL + // plug-in has already been setup we don't want to override the + // configuration so it can be loaded from a custom location. + // + if(_secure && initData.properties->getProperty("Ice.Plugin.IceSSL").empty()) { initData.properties->setProperty("Ice.Plugin.IceSSL","IceSSL:createIceSSL"); } -- cgit v1.2.3