[cpp-sp] branch master updated: Conditionalize cacheAssertions default setting.
Scott Cantor
cantor.2 at osu.edu
Wed Jun 27 15:14:45 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=534884861f31637932318a3e4bcfb3fa1107541e
The following commit(s) were added to refs/heads/master by this push:
new 5348848 Conditionalize cacheAssertions default setting.
5348848 is described below
commit 534884861f31637932318a3e4bcfb3fa1107541e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jun 27 15:14:39 2018 -0400
Conditionalize cacheAssertions default setting.
---
shibsp/impl/StorageServiceSessionCache.cpp | 8 ++++----
shibsp/impl/StorageServiceSessionCache.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/shibsp/impl/StorageServiceSessionCache.cpp b/shibsp/impl/StorageServiceSessionCache.cpp
index 1558d15..b3f3212 100644
--- a/shibsp/impl/StorageServiceSessionCache.cpp
+++ b/shibsp/impl/StorageServiceSessionCache.cpp
@@ -75,9 +75,9 @@ using namespace xmltooling;
using namespace boost;
using namespace std;
-SessionCache* SHIBSP_DLLLOCAL StorageServiceCacheFactory(const DOMElement* const & e, bool)
+SessionCache* SHIBSP_DLLLOCAL StorageServiceCacheFactory(const DOMElement* const & e, bool deprecationSupport)
{
- return new SSCache(e);
+ return new SSCache(e, deprecationSupport);
}
void SHIBSP_API shibsp::registerSessionCaches()
@@ -93,7 +93,7 @@ SessionCache::~SessionCache()
{
}
-SSCache::SSCache(const DOMElement* e)
+SSCache::SSCache(const DOMElement* e, bool deprecationSupport)
:
#ifndef SHIBSP_LITE
m_storage(nullptr), m_storage_lite(nullptr), m_cacheAssertions(true), m_reverseIndex(true), m_softRevocation(true), m_reverseIndexMaxSize(0),
@@ -162,7 +162,7 @@ SSCache::SSCache(const DOMElement* e)
}
m_softRevocation = XMLHelper::getAttrBool(e, true, softRevocation);
- m_cacheAssertions = XMLHelper::getAttrBool(e, true, cacheAssertions);
+ m_cacheAssertions = XMLHelper::getAttrBool(e, deprecationSupport, cacheAssertions);
m_reverseIndex = XMLHelper::getAttrBool(e, true, maintainReverseIndex);
m_reverseIndexMaxSize = XMLHelper::getAttrInt(e, 0, reverseIndexMaxSize);
const XMLCh* excludedNames = e ? e->getAttributeNS(nullptr, excludeReverseIndex) : nullptr;
diff --git a/shibsp/impl/StorageServiceSessionCache.h b/shibsp/impl/StorageServiceSessionCache.h
index b63ea2e..df5bfaa 100644
--- a/shibsp/impl/StorageServiceSessionCache.h
+++ b/shibsp/impl/StorageServiceSessionCache.h
@@ -62,7 +62,7 @@ namespace shibsp {
#endif
{
public:
- SSCache(const xercesc::DOMElement* e);
+ SSCache(const xercesc::DOMElement* e, bool deprecationSupport);
virtual ~SSCache();
#ifndef SHIBSP_LITE
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list