From: Scott Cantor Date: Tue, 30 Oct 2012 02:49:55 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/SSPCPP-515 X-Git-Tag: 2.5.1~23 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=dc9b88c8297210764d7fcb1fcd7287a8ee2c177b;p=shibboleth%2Fcpp-sp.git https://issues.shibboleth.net/jira/browse/SSPCPP-515 --- 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");