<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Raja,<div><br></div><div>You need both domains listed.</div><div><br></div><div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML2/POST">http://test.mydomain.net/Shibboleth.sso/SAML2/POST</a>" index="0"/&gt;</div><div><div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="<a href="http://dev.mydomain.net/Shibboleth.sso/SAML2/POST">http://dev.mydomain.net/Shibboleth.sso/SAML2/POST</a>" index="6"/&gt;</div></div><div><br></div><div>Thanks,</div><div>Nate.</div><div><br><div><div>On 1 Nov 2012, at 00:10, "Raz's" &lt;<a href="mailto:gajula.rajashekhar@gmail.com">gajula.rajashekhar@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks a lot Nate,<div><br></div><div>End points nothing but AssertionConsumerService correct, They are present in my metadata which was uploaded to the <a href="http://testshib.org/">testshib.org</a> IDP, one more thing if i interchange the places for dev and test then test will work and dev will not works (now <a href="http://dev.mydomain.net/">dev.mydomain.net</a> will gets the error message like previous)</div>

<div><br></div><div>Here the exact metadata of <a href="http://test.mydomain.net/">Test.Mydomain.net</a>.</div><div><br></div><div><div>&lt;md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" ID="_d27fc6cfbb1c99cb5eb6a848d6b2a385cacb7bf9" entityID="<a href="https://test.mydomain.net/shibboleth">https://test.mydomain.net/shibboleth</a>"&gt;</div>

<div><br></div><div>&nbsp; &lt;md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:1.0:protocol"&gt;</div><div>&nbsp; &nbsp; &lt;md:Extensions&gt;</div>

<div>&nbsp; &nbsp; &nbsp; &lt;init:RequestInitiator xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init" Binding="urn:oasis:names:tc:SAML:profiles:SSO:request-init" Location="<a href="http://test.mydomain.net/Shibboleth.sso/Login">http://test.mydomain.net/Shibboleth.sso/Login</a>"/&gt;</div>

<div>&nbsp; &nbsp; &lt;/md:Extensions&gt;</div><div>&nbsp; &nbsp; &lt;md:KeyDescriptor&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;ds:KeyInfo xmlns:ds="<a href="http://www.w3.org/2000/09/xmldsig#">http://www.w3.org/2000/09/xmldsig#</a>"&gt;</div><div>

&nbsp; &nbsp; &nbsp; &nbsp; &lt;ds:KeyName&gt;ths-multitenant.ths.local&lt;/ds:KeyName&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;ds:X509Data&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ds:X509SubjectName&gt;CN=ths-multitenant.ths.local&lt;/ds:X509SubjectName&gt;</div><div>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ds:X509Certificate&gt; encoded one</div><div>&lt;/ds:X509Certificate&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ds:X509Data&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;/ds:KeyInfo&gt;</div><div>&nbsp; &nbsp; &lt;/md:KeyDescriptor&gt;</div><div>&nbsp; &nbsp; &lt;md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="<a href="http://test.mydomain.net/Shibboleth.sso/Artifact/SOAP">http://test.mydomain.net/Shibboleth.sso/Artifact/SOAP</a>" index="0"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SLO/SOAP">http://test.mydomain.net/Shibboleth.sso/SLO/SOAP</a>"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SLO/Redirect">http://test.mydomain.net/Shibboleth.sso/SLO/Redirect</a>"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SLO/POST">http://test.mydomain.net/Shibboleth.sso/SLO/POST</a>"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SLO/Artifact">http://test.mydomain.net/Shibboleth.sso/SLO/Artifact</a>"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML2/POST">http://test.mydomain.net/Shibboleth.sso/SAML2/POST</a>" index="0"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML2/POST-SimpleSign">http://test.mydomain.net/Shibboleth.sso/SAML2/POST-SimpleSign</a>" index="1"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML2/Artifact">http://test.mydomain.net/Shibboleth.sso/SAML2/Artifact</a>" index="2"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML2/ECP">http://test.mydomain.net/Shibboleth.sso/SAML2/ECP</a>" index="3"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML/POST">http://test.mydomain.net/Shibboleth.sso/SAML/POST</a>" index="4"/&gt;</div>

<div>&nbsp; &nbsp; &lt;md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="<a href="http://test.mydomain.net/Shibboleth.sso/SAML/Artifact">http://test.mydomain.net/Shibboleth.sso/SAML/Artifact</a>" index="5"/&gt;</div>

<div>&nbsp; &lt;/md:SPSSODescriptor&gt;</div><div><br></div><div>&lt;/md:EntityDescriptor&gt;</div></div><div><br></div><div>-Raja</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 4:52 AM, Nate Klingenstein <span dir="ltr">&lt;<a href="mailto:ndk@internet2.edu" target="_blank">ndk@internet2.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Raja,</div><div><br></div><div>The metadata that you uploaded to TestShib probably doesn't have endpoints listed for the domain <a href="http://test.mydomain.net/" target="_blank">test.mydomain.net</a>. &nbsp;You'll need to ensure that there are AssertionConsumerService URL's for both hosts.</div>

<div><br></div><div><a href="https://wiki.shibboleth.net/confluence/display/SHIB2/MetadataForSP" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/MetadataForSP</a></div><div><br></div><div>Thanks,</div>

<div>Nate.</div><div><div class="h5"><br><div><div>On 31 Oct 2012, at 23:08, "Raz's" &lt;<a href="mailto:gajula.rajashekhar@gmail.com" target="_blank">gajula.rajashekhar@gmail.com</a>&gt; wrote:</div><br>

<blockquote type="cite">Hi Nate,<br><div class="gmail_extra"><div><br></div><div>When i configured SP as follows&nbsp;</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Site id="1" name="<a href="http://sp.mydomain.net/" target="_blank">sp.mydomain.net</a>"&gt;</div>



<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="white-space:pre-wrap">        </span>&lt;Alias&gt;<a href="http://dev.mydomain.net/" target="_blank">dev.mydomain.net</a>&lt;/Alias&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="white-space:pre-wrap">        </span>&lt;Alias&gt;<a href="http://test.mydomain.net/" target="_blank">test.mydomain.net</a>&lt;/Alias&gt;</div>



</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Site&gt;</div><div><br></div><div><div>&nbsp; &nbsp; &lt;RequestMapper type="Native"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;RequestMap applicationId="default"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Host name="<a href="http://dev.mydomain.net/" target="_blank">dev.mydomain.net</a>"&gt;<br>



</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Path name="protected" authType="shibboleth" requireSession="true"/&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Host&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Host name="<a href="http://test.mydomain.net/" target="_blank">test.mydomain.net</a>" entityID="<a href="https://idp.testshib.org/idp/shibboleth" target="_blank">https://idp.testshib.org/idp/shibboleth</a>"&gt;</div>



<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Path name="protected" authType="shibboleth" requireSession="true"/&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Host&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/RequestMap&gt;<br></div><div>&nbsp; &nbsp; &lt;/RequestMapper&gt;</div>



</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;ApplicationDefaults entityID="<a href="https://dev.mydomain.net/shibboleth" target="_blank">https://dev.mydomain.net/shibboleth</a>"&nbsp;REMOTE_USER="eppn"&gt;</div>

<div><br></div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;Sessions lifetime="28800" timeout="3600" checkAddress="true" consistentAddress="true" relayState="ss:mem" handlerSSL="false"&gt;<br></div><div>


&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SSO entityID="<a href="https://idp.testshib.org/idp/shibboleth" target="_blank">https://idp.testshib.org/idp/shibboleth</a>"&gt;<br>
</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAML2 SAML1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SSO&gt;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Logout&gt;SAML2 Local&lt;/Logout&gt;<br></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Handler type="MetadataGenerator" Location="/Metadata" signing="false"/&gt;<br>



</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Handler type="Status" Location="/Status" acl="127.0.0.1"/&gt;<br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Handler type="Session" Location="/Session" showAttributeValues="true"/&gt;<br>



</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Handler type="DiscoveryFeed" Location="/DiscoFeed"/&gt;<br></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/Sessions&gt;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;Errors supportContact="root@localhost" logoLocation="/shibboleth-sp/logo.jpg"&nbsp;styleSheet="/shibboleth-sp/main.css"/&gt;</div>



<div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;MetadataProvider type="XML" uri="<a href="http://www.testshib.org/metadata/testshib-providers.xml" target="_blank">http://www.testshib.org/metadata/testshib-providers.xml</a>"<br>

</div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;backingFilePath="testshib-two-idp-metadata.xml" reloadInterval="180000" /&gt;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;AttributeExtractor type="XML" validate="true" path="attribute-map.xml"/&gt;<br>



</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;AttributeResolver type="Query" subjectMatch="true"/&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/&gt;</div>



<div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;CredentialResolver type="File" key="sp-key.pem" certificate="sp-cert.pem"/&gt;<br></div></div><div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ApplicationDefaults&gt; &nbsp; &nbsp;</div>



</div><div><br></div><div>then i'm getting the error like&nbsp;<strong style="font-family:'Times New Roman';font-size:medium">Error Message: No peer endpoint available to which to send SAML response</strong><br>

</div><div><font face="Times New Roman" size="3">while access the <a href="http://test.mydomain.net/" target="_blank">test.mydomain.net</a> but it's working fine with <a href="http://dev.mydomain.net/" target="_blank">dev.mydomain.net</a></font></div>



<div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">Here <a href="http://test.mydomain.net/" target="_blank">test.mydomain.net</a> IDP &amp; sessions, handlers etc different from the dev.</font></div>



<div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">-Raja</font></div><div><font face="Times New Roman" size="3"><br></font></div>

On Wed, Oct 31, 2012 at 12:30 AM, Cantor, Scott <span dir="ltr">&lt;<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div>&gt;<br>
&gt;Please help me out in the process of SAML SP implementation for sub<br>
&gt;domains. This implementation little bit tricky here single application<br>
&gt;providing the solutions or our clients using the sub domains so each sub<br>
&gt;domain indicates the individual client and<br>
&gt; also each client had the his own idp and sp but we want to integrate<br>
&gt;their idp into our sp at the same it has to redirect the request to<br>
&gt;respected sub domains (clients) idp. Here Session of each and every sub<br>
&gt;domain (client) should be vary based on the sub<br>
&gt; domain(client) idp.<br>
<br>
</div>I answered this in the original thread you raised it in. If you want to<br>
specify the IdP based on the vhost, you add an entityID property naming<br>
the IdP in the RequestMap in a &lt;Host&gt; element for the given vhost. That's<br>
it. You don't need overrides.<br>
<br></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
If you need to add restrictions to limit which IdP's users are able to<br>
access the vhosts, then there are various ways to achieve that, or it can<br>
be done entirely inside the application. Again, you don't need overrides<br>
for that.<br>
<span><font color="#888888"><br>
-- Scott<br>
</font></span><div><br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</div></blockquote></div><br></div>
--<br>To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a></blockquote></div><br></div></div></div><br>--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br></blockquote></div><br></div>
--<br>To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a></blockquote></div><br></div></body></html>