SHIBSP_DLLLOCAL PluginManager<SessionCache,const DOMElement*>::Factory RemotedCacheFactory;\r
SHIBSP_DLLLOCAL PluginManager<SessionCache,const DOMElement*>::Factory StorageServiceCacheFactory;\r
\r
- static const XMLCh cleanupInterval[] = UNICODE_LITERAL_15(c,l,e,a,n,u,p,I,n,t,e,r,v,a,l);\r
static const XMLCh cacheTimeout[] = UNICODE_LITERAL_12(c,a,c,h,e,T,i,m,e,o,u,t);\r
- static const XMLCh strictValidity[] = UNICODE_LITERAL_14(s,t,r,i,c,t,V,a,l,i,d,i,t,y);\r
- static const XMLCh writeThrough[] = UNICODE_LITERAL_12(w,r,i,t,e,T,h,r,o,u,g,h);\r
}\r
\r
void SHIBSP_API shibsp::registerSessionCaches()\r
conf.SessionCacheManager.registerFactory(STORAGESERVICE_SESSION_CACHE, StorageServiceCacheFactory);\r
}\r
\r
-SessionCache::SessionCache(const DOMElement* e)\r
- : m_cleanupInterval(60*5), m_cacheTimeout(60*60*8), m_strictValidity(true), m_writeThrough(false)\r
+SessionCache::SessionCache(const DOMElement* e) : m_cacheTimeout(60*60*8)\r
{\r
if (e) {\r
- const XMLCh* tag=e->getAttributeNS(NULL,cleanupInterval);\r
- if (tag && *tag) {\r
- m_cleanupInterval = XMLString::parseInt(tag);\r
- if (!m_cleanupInterval)\r
- m_cleanupInterval=60*5;\r
- }\r
-\r
- tag=e->getAttributeNS(NULL,cacheTimeout);\r
+ const XMLCh* tag=e->getAttributeNS(NULL,cacheTimeout);\r
if (tag && *tag) {\r
m_cacheTimeout = XMLString::parseInt(tag);\r
if (!m_cacheTimeout)\r
m_cacheTimeout=60*60*8;\r
}\r
- \r
- tag=e->getAttributeNS(NULL,strictValidity);\r
- if (tag && (*tag==chDigit_0 || *tag==chLatin_f))\r
- m_strictValidity=false;\r
- \r
- tag=e->getAttributeNS(NULL,writeThrough);\r
- if (tag && (*tag==chDigit_1 || *tag==chLatin_t))\r
- m_writeThrough=true;\r
}\r
}\r