<div dir="ltr"><div>Overview<br></div><div>========</div><div>What I'd like to have to have a single wildcard vhost, with each domain which hits it using a different ApplicationOverride to obtain an SP entityID. </div><div><br></div><div>However, when I try to initiate authorization with TestShib, I get the error "None of the configured SessionInitiators handled the request"</div><div><br></div><div>I tried increasing setting log4j.category.Shibboleth.RequestMapper=DEBUG to see if I could learn more, but there was no further output in the logs.</div><div><br></div><div><br>Apache configuration</div><div>=================</div><div><br></div><div>The single default vhost provided a secured area in /Login</div><div><br></div><div> <Location /Login></div><div>    AuthType shibboleth</div><div>    ShibRequestSetting requireSession 1</div><div>    require shib-session</div><div>  </Location></div><div><br></div><div>I also have "UseCanonicalDomain off" so that Apache uses the supplied hostname rather than the canonical one (this is behind a load balancer, so I can control what actually reaches this far)</div><div><br></div><div>shibboleth2.xml</div><div>=============</div><div><br></div><div>Here's the relevant bits of the shibboleth2.xml configuration</div><div><br></div><div><!-- request mapper looks like this.... -></div><div><RequestMapper type="Native"></div><div>    <RequestMap applicationId="default"></div><div>      <Host name="<a href="http://product1.example.com">product1.example.com</a>" applicationId="product-1"/></div><div>      <Host name="<a href="http://product2.example.com">product2.example.com</a>" applicationId="product-2"/></div><div>      <Host name="<a href="http://product3.example.com">product3.example.com</a>" applicationId="product-3"/></div><div>    </RequestMap></div><div>  </RequestMapper></div><div><br></div><div><ApplicationDefaults id="default" entityID="<a href="https://sp.example.org/shibboleth">https://sp.example.org/shibboleth</a>" REMOTE_USER="eppn persistent-id targeted-id"></div><div><br></div><div>  <Sessions lifetime="28800" timeout="3600" relayState="ss:mem" checkAddress="false" handlerSSL="false" cookieProps="http"></div><div>      <!--</div><div>           This is where I might be going wrong - I removed entityID attribute as I want to </div><div>           specify the IdP via query string, and I also removed discoveryURL as a discovery</div><div>           service isn't necessary--></div><div>        <SSO>SAML2 SAML1</SSO></div><div>        ...</div><div>        </div><div>        <!-- I set the SP entityID for each domain here --></div><div>        </div><div>        <ApplicationOverride id="product-1" entityID="<a href="https://product1.example.com/shibboleth">https://product1.example.com/shibboleth</a>"/></div><div>        <ApplicationOverride id="product-2" entityID="<a href="https://product2.example.com/shibboleth">https://product2.example.com/shibboleth</a>"/></div><div>        <ApplicationOverride id="product-3" entityID="<a href="https://product3.example.com/shibboleth">https://product3.example.com/shibboleth</a>"/></div><div>   </Sessions></div><div> </div><div></ApplicationDefaults>  </div><div><br></div><div><br>Testing</div><div>======</div><div>I initiate a TestShib test with a URL like this <a href="https://product3.example.com/Login/?entityID=https://idp.testshib.org/idp/shibboleth">https://product3.example.com/Login/?entityID=https://idp.testshib.org/idp/shibboleth</a></div><div><br></div><div>which displays a shibsp::ConfigurationException "None of the configured SessionInitiators handled the request."</div><div><br></div><div><br></div><div>Why do I want to do this?</div><div>===================</div><div>My hope was that I could avoid having to reload apache whenever I wanted to add a new SP setup, and simply have the configuration driven entirely from shibboleth2.xml</div><div><br></div><div><br></div><div>Ideas?</div><div>=====</div><div>From reading the docs and the list archives, what I'm trying to do may be pushing too hard against some design elements of the Native SP software. But I'm hoping there's a simple tweak I can make to the <SSO> element perhaps to get this working....</div><div><br></div><div><br></div><div>Paul</div></div>