[cpp-sp] branch main updated: Add logging, add LogoutInitiator to handler config.

Codeberg noreply at shibboleth.net
Tue Feb 10 17:36:33 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/27e5a63c1d04bebbf1d0522842899167e4744051

The following commit(s) were added to refs/heads/main by this push:
     new 27e5a63c Add logging, add LogoutInitiator to handler config.
27e5a63c is described below

commit 27e5a63c1d04bebbf1d0522842899167e4744051
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Feb 10 12:36:21 2026 -0500

    Add logging, add LogoutInitiator to handler config.
---
 configs/handlers.ini                    | 3 +++
 shibsp/handler/impl/LogoutInitiator.cpp | 1 +
 2 files changed, 4 insertions(+)

diff --git a/configs/handlers.ini b/configs/handlers.ini
index 29ab65f8..f15bce5d 100644
--- a/configs/handlers.ini
+++ b/configs/handlers.ini
@@ -9,6 +9,9 @@ type = Session
 [Login]
 type = SessionInitiator
 
+[Logout]
+type = LogoutInitiator
+
 # Default "new" layout of a single endpoint.
 [Validate]
 type = TokenConsumer
diff --git a/shibsp/handler/impl/LogoutInitiator.cpp b/shibsp/handler/impl/LogoutInitiator.cpp
index 0df586b5..855c6c94 100644
--- a/shibsp/handler/impl/LogoutInitiator.cpp
+++ b/shibsp/handler/impl/LogoutInitiator.cpp
@@ -62,6 +62,7 @@ pair<bool,long> LogoutInitiator::run(SPRequest& request, bool isHandler) const
     }
 
     if (session) {
+        request.info("logging out session (%s)", session.mutex()->getID());
         session.unlock();
         request.getAgent().getSessionCache()->remove(request);
     }

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


More information about the commits mailing list