[cpp-sp] branch main updated: Default in ACL type in RequestMapper.

Scott Cantor cantor.2 at osu.edu
Wed Oct 29 14:51:16 UTC 2025


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

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

View the commit online:
https://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=46d03f5d9bab55703360e8e271e6ff2e07abc7e5

The following commit(s) were added to refs/heads/main by this push:
     new 46d03f5d Default in ACL type in RequestMapper.
46d03f5d is described below

commit 46d03f5d9bab55703360e8e271e6ff2e07abc7e5
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Oct 29 10:51:11 2025 -0400

    Default in ACL type in RequestMapper.
---
 shibsp/impl/XMLRequestMapper.cpp | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/shibsp/impl/XMLRequestMapper.cpp b/shibsp/impl/XMLRequestMapper.cpp
index f5419057..dee3e474 100644
--- a/shibsp/impl/XMLRequestMapper.cpp
+++ b/shibsp/impl/XMLRequestMapper.cpp
@@ -235,14 +235,9 @@ void Override::loadACL(ptree& pt, Category& log)
             else {
                 acl = pt.get_child_optional(ACCESS_CONTROL_PROVIDER_PROP_PATH);
                 if (acl) {
-                    string t(acl->get(TYPE_PROP_PATH, ""));
-                    if (!t.empty()) {
-                        log.info("building AccessControl provider of type %s...", t.c_str());
-                        m_acl.reset(AgentConfig::getConfig().AccessControlManager.newPlugin(t.c_str(), acl.get(), false));
-                    }
-                    else {
-                        throw ConfigurationException("<AccessControlProvider> missing type attribute.");
-                    }
+                    string t(acl->get(TYPE_PROP_PATH, "XML"));
+                    log.info("building AccessControl provider of type %s...", t.c_str());
+                    m_acl.reset(AgentConfig::getConfig().AccessControlManager.newPlugin(t.c_str(), acl.get(), false));
                 }
             }
         }

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


More information about the commits mailing list