From: scantor Date: Tue, 30 Oct 2012 02:49:55 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/SSPCPP-515 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=bed8dc5516d444b4f16c17f365c8d81c112afb57;p=shibboleth%2Fsp.git https://issues.shibboleth.net/jira/browse/SSPCPP-515 git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3812 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibsp/impl/StorageServiceSessionCache.cpp b/shibsp/impl/StorageServiceSessionCache.cpp index 99bb93b..9e5d48d 100644 --- a/shibsp/impl/StorageServiceSessionCache.cpp +++ b/shibsp/impl/StorageServiceSessionCache.cpp @@ -946,7 +946,7 @@ SSCache::SSCache(const DOMElement* e) if (m_storage) m_log.info("bound to StorageService (%s)", ssid.c_str()); else - m_log.warn("specified StorageService (%s) not found", ssid.c_str()); + throw ConfigurationException("SessionCache unable to locate StorageService ($1), check configuration.", params(1, ssid.c_str())); } if (!m_storage) { m_storage = conf.getServiceProvider()->getStorageService(nullptr); @@ -962,7 +962,7 @@ SSCache::SSCache(const DOMElement* e) if (m_storage_lite) m_log.info("bound to 'lite' StorageService (%s)", ssid.c_str()); else - m_log.warn("specified 'lite' StorageService (%s) not found", ssid.c_str()); + throw ConfigurationException("SessionCache unable to locate 'lite' StorageService ($1), check configuration.", params(1, ssid.c_str())); } if (!m_storage_lite) { m_log.info("StorageService for 'lite' use not set, using standard StorageService");