projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
69483d3
)
https://issues.shibboleth.net/jira/browse/SSPCPP-515
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 30 Oct 2012 02:49:55 +0000
(
02:49
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 30 Oct 2012 02:49:55 +0000
(
02:49
+0000)
shibsp/impl/StorageServiceSessionCache.cpp
patch
|
blob
|
history
diff --git
a/shibsp/impl/StorageServiceSessionCache.cpp
b/shibsp/impl/StorageServiceSessionCache.cpp
index
99bb93b
..
9e5d48d
100644
(file)
--- 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
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);
}
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
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");
}
if (!m_storage_lite) {
m_log.info("StorageService for 'lite' use not set, using standard StorageService");