[cpp-sp] branch main updated: Reset session object name to carry session key.
Codeberg
noreply at shibboleth.net
Tue Jan 13 15:38:40 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/b888c5d49a6133bfed941b3c7943b3dc4de396cf
The following commit(s) were added to refs/heads/main by this push:
new b888c5d4 Reset session object name to carry session key.
b888c5d4 is described below
commit b888c5d49a6133bfed941b3c7943b3dc4de396cf
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 13 10:38:23 2026 -0500
Reset session object name to carry session key.
---
shibsp/session/impl/AbstractSessionCache.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/shibsp/session/impl/AbstractSessionCache.cpp b/shibsp/session/impl/AbstractSessionCache.cpp
index f4e17f18..f1cb977b 100644
--- a/shibsp/session/impl/AbstractSessionCache.cpp
+++ b/shibsp/session/impl/AbstractSessionCache.cpp
@@ -560,6 +560,8 @@ unique_lock<Session> AbstractSessionCache::_find(
log(DEBUG_MARK, "valid session (%s) loaded from persistent store", key);
// Wrap the object in a local wraper to guard it before it's saved off.
+ // Reset the structure name to carry the session key.
+ obj.name(key);
unique_ptr<BasicSession> newSession(new BasicSession(*this, obj));
// Lock the cache and check for a race condition with another thread...
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list