Apache Module Default Parameters

Cantor, Scott cantor.2 at osu.edu
Wed Feb 7 12:23:30 EST 2018


On 2/7/18, 10:52 AM, "dev on behalf of César Bernardini" <dev-bounces at shibboleth.net on behalf of cbernardini at barracuda.com> wrote:

> I was going through the mod_shib.cpp code and I am wandering how the default parameters of the apache module are
> being received.

That's not a simple question and without a deep knowledge of the code nothing I said would mean a whole lot, but the answer is that there's a superimposed implementation of the SP's RequestMapper plugin interface that gets injected that chains the SP config back down into Apache config so that Apache settings override the XML supplied settings.
 
> From what I can see in the code, parameters such as szApplicationId or szSessionWith are inherited from Apache
> Configuration. However, I cannot find these values in my apache configuration and I don't know what are the default
> values.

The default values should be documented in the wiki. Those two specifically are "default" and nothing, respectively. The "default" string is a hardwired name for the application defined by the ApplicationDefaults element in the SP configuration and can't be changed. It's just a fallback to guarantee there's always an ID with nobody having to set one.

>* Where can I find the default parameters of szApplicationId/szSessionWith that are used in the mod_shib

If you're asking what the default value of those specific C variables is, they don't have one, they're null.

-- Scott




More information about the dev mailing list