[cpp-sp] branch main updated: Remove unused setting.

Codeberg noreply at shibboleth.net
Tue Oct 6 15:49:37 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/f3f17064e3d84ded248a5a4f4d26fd9deb77b4ce

The following commit(s) were added to refs/heads/main by this push:
     new f3f17064 Remove unused setting.
f3f17064 is described below

commit f3f17064e3d84ded248a5a4f4d26fd9deb77b4ce
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Oct 6 11:49:23 2026 -0400

    Remove unused setting.
---
 shibsp/session/impl/CookieSessionCache.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/shibsp/session/impl/CookieSessionCache.cpp b/shibsp/session/impl/CookieSessionCache.cpp
index f2ec747f..89de96b6 100644
--- a/shibsp/session/impl/CookieSessionCache.cpp
+++ b/shibsp/session/impl/CookieSessionCache.cpp
@@ -62,18 +62,15 @@ namespace {
     
     private:
         Category& m_spilog;
-        unsigned int m_cookieLifetime;
         // We store the encrypted timestamp in a separate, unchunked cookie.
         unique_ptr<CookieManager> m_lastUsedCookieManager;
         unique_ptr<CookieManager> m_chunkedCookieManager;
     };
 
-    static const char COOKIE_LIFETIME_PROP_NAME[] = "cookieLifetime";
     static const char CHUNKED_COOKIE_NAME_PROP_NAME[] = "chunkedCookieName";
     static const char CHUNKED_COOKIE_SIZE_PROP_NAME[] = "chunkedCookieSize";
     static const char LAST_USED_COOKIE_NAME_PROP_NAME[] = "lastUsedCookieName";
 
-    static unsigned int COOKIE_LIFETIME_PROP_DEFAULT = 24 * 3600;
     static const char CHUNKED_COOKIE_NAME_PROP_DEFAULT[] = "__Host-shib_chk";
     static unsigned int CHUNKED_COOKIE_SIZE_PROP_DEFAULT = 3072;
     static const char LAST_USED_COOKIE_NAME_PROP_DEFAULT[] = "__Host-shib_chk_ts";
@@ -96,8 +93,6 @@ namespace shibsp {
 CookieSessionCache::CookieSessionCache(const ptree& pt)
     : AbstractSessionCache(pt), m_spilog(Category::getInstance(SHIBSP_LOGCAT ".SessionCache.StorageService"))
 {
-    m_cookieLifetime = getUnsignedInt(COOKIE_LIFETIME_PROP_NAME, COOKIE_LIFETIME_PROP_DEFAULT);
-
     // Set up cookie managers.
 
     m_lastUsedCookieManager.reset(new CookieManager(getString(LAST_USED_COOKIE_NAME_PROP_NAME, LAST_USED_COOKIE_NAME_PROP_DEFAULT)));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list