[cpp-sp] branch main updated: Fix factory signature.

Codeberg noreply at shibboleth.net
Mon Oct 12 12:43:15 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/0e4dd2133e24237cb3786c559cae41038c6173c5

The following commit(s) were added to refs/heads/main by this push:
     new 0e4dd213 Fix factory signature.
0e4dd213 is described below

commit 0e4dd2133e24237cb3786c559cae41038c6173c5
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Oct 12 08:42:58 2026 -0400

    Fix factory signature.
---
 shibsp/handler/impl/AbstractHandler.cpp    | 4 ----
 shibsp/handler/impl/AdminLogoutHandler.cpp | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/shibsp/handler/impl/AbstractHandler.cpp b/shibsp/handler/impl/AbstractHandler.cpp
index eef09d98..c59615fc 100644
--- a/shibsp/handler/impl/AbstractHandler.cpp
+++ b/shibsp/handler/impl/AbstractHandler.cpp
@@ -47,8 +47,6 @@ using namespace std;
 #endif
 
 namespace shibsp {
-    //extern SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<ptree&,const char*> >::Factory AdminLogoutInitiatorFactory;
-
     extern SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<ptree&,const char*> >::Factory AttributeCheckerFactory;
     extern SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<ptree&,const char*> >::Factory PassthroughFactory;
     extern SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<ptree&,const char*> >::Factory SessionHandlerFactory;
@@ -64,8 +62,6 @@ void SHIBSP_API shibsp::registerHandlers()
 {
     AgentConfig& conf=AgentConfig::getConfig();
 
-    //conf.HandlerManager.registerFactory(ADMIN_LOGOUT_INITIATOR, AdminLogoutInitiatorFactory);
-
     conf.HandlerManager.registerFactory(ATTR_CHECKER_HANDLER, AttributeCheckerFactory);
     conf.HandlerManager.registerFactory(PASSTHROUGH_HANDLER, PassthroughFactory);
     conf.HandlerManager.registerFactory(STATUS_HANDLER, StatusHandlerFactory);
diff --git a/shibsp/handler/impl/AdminLogoutHandler.cpp b/shibsp/handler/impl/AdminLogoutHandler.cpp
index 5a21ee24..3d8425a7 100644
--- a/shibsp/handler/impl/AdminLogoutHandler.cpp
+++ b/shibsp/handler/impl/AdminLogoutHandler.cpp
@@ -55,7 +55,7 @@ namespace shibsp {
     #pragma warning( pop )
 #endif
 
-    Handler* SHIBSP_DLLLOCAL AdminLogoutHandlerFactory(const pair<ptree&,const char*> p, bool)
+    Handler* SHIBSP_DLLLOCAL AdminLogoutHandlerFactory(const pair<ptree&,const char*>& p, bool)
     {
         return new AdminLogoutHandler(p.first);
     }

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


More information about the commits mailing list