[cpp-sp] branch main updated: Remove exportAssertion option.

Scott Cantor cantor.2 at osu.edu
Tue Jul 1 20:11:24 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:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=ed84d4d73d39e6bdb14f5c6e9f6394be295f22b8

The following commit(s) were added to refs/heads/main by this push:
     new ed84d4d7 Remove exportAssertion option.
ed84d4d7 is described below

commit ed84d4d73d39e6bdb14f5c6e9f6394be295f22b8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jul 1 16:11:09 2025 -0400

    Remove exportAssertion option.
---
 apache/mod_shib_24.cpp | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/apache/mod_shib_24.cpp b/apache/mod_shib_24.cpp
index f92b56d8..5658eeeb 100644
--- a/apache/mod_shib_24.cpp
+++ b/apache/mod_shib_24.cpp
@@ -162,7 +162,6 @@ struct shib_dir_config
     int bOff;               // flat-out disable all Shib processing
     int bBasicHijack;       // activate for AuthType Basic?
     int bRequireSession;    // require a session?
-    int bExportAssertion;   // export SAML assertion to the environment?
     int bUseEnvVars;        // use environment?
     int bUseHeaders;        // use headers?
     int bExpireRedirects;   // expire redirects?
@@ -181,7 +180,6 @@ extern "C" void* create_shib_dir_config (apr_pool_t* p, char*)
     dc->bOff = -1;
     dc->bBasicHijack = -1;
     dc->bRequireSession = -1;
-    dc->bExportAssertion = -1;
     dc->bUseEnvVars = -1;
     dc->bUseHeaders = -1;
     dc->bExpireRedirects = -1;
@@ -269,13 +267,6 @@ extern "C" void* merge_shib_dir_config (apr_pool_t* p, void* base, void* sub)
     else
         dc->bRequireSession = -1;
 
-    if (child->bExportAssertion != -1)
-        dc->bExportAssertion = child->bExportAssertion;
-    else if (parent->bExportAssertion != -1 && (!child->tUnsettings || !apr_table_get(child->tUnsettings, "exportAssertion")))
-        dc->bExportAssertion = parent->bExportAssertion;
-    else
-        dc->bExportAssertion = -1;
-
     dc->bOff = ((child->bOff == -1) ? parent->bOff : child->bOff);
     dc->bBasicHijack = ((child->bBasicHijack == -1) ? parent->bBasicHijack : child->bBasicHijack);
     dc->bUseEnvVars = ((child->bUseEnvVars==-1) ? parent->bUseEnvVars : child->bUseEnvVars);
@@ -1046,8 +1037,6 @@ bool ApacheRequestMapper::getBool(const char* name, bool defaultValue) const
         // Override Apache-settable boolean properties.
         if (name && !strcmp(name,"requireSession") && m_sta->m_dc->bRequireSession != -1)
             return m_sta->m_dc->bRequireSession == 1;
-        else if (name && !strcmp(name,"exportAssertion") && m_sta->m_dc->bExportAssertion != -1)
-            return m_sta->m_dc->bExportAssertion == 1;
         else if (m_sta->m_dc->tSettings) {
             const char* prop = apr_table_get(m_sta->m_dc->tSettings, name);
             if (prop)
@@ -1591,9 +1580,6 @@ static command_rec shib_cmds[] = {
     AP_INIT_TAKE1("ShibRequireSessionWith", (config_fn_t)ap_set_string_slot,
         (void *) offsetof (shib_dir_config, szRequireWith),
         OR_AUTHCFG, "(DEPRECATED) Initiates a new session if one does not exist using a specific SessionInitiator"),
-    AP_INIT_FLAG("ShibExportAssertion", (config_fn_t)ap_set_flag_slot,
-        (void *) offsetof (shib_dir_config, bExportAssertion),
-        OR_AUTHCFG, "(DEPRECATED) Export SAML attribute assertion(s) to Shib-Attributes header"),
     AP_INIT_TAKE1("ShibRedirectToSSL", (config_fn_t)ap_set_string_slot,
         (void *) offsetof (shib_dir_config, szRedirectToSSL),
         OR_AUTHCFG, "(DEPRECATED) Redirect non-SSL requests to designated port"),

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


More information about the commits mailing list