Here is my sample shibboleth2.xml file<br><br>&lt;!--<br>This is an example shibboleth2.xml generated for you by TestShib Two.  It&#39;s reduced and recommented<br>specifically for testing.  You don&#39;t need to change anything, but you may want to explore the file<br>
to learn about how your SP works.  Uncomment attributes in your attribute-map.xml file to test them.<br><br>If you want to test advanced functionality, start from the distribution shibboleth2.xml and add the<br>MetadataProvider, TestShib credentials, the right entityID, and a SessionInitiator.  More information:<br>
<br><a href="https://spaces.internet2.edu/display/SHIB2/NativeSPConfiguration">https://spaces.internet2.edu/display/SHIB2/NativeSPConfiguration</a><br>--&gt;<br><br>&lt;SPConfig xmlns=&quot;urn:mace:shibboleth:2.0:native:sp:config&quot; xmlns:md=&quot;urn:oasis:names:tc:SAML:2.0:metadata&quot;<br>
    logger=&quot;syslog.logger&quot; clockSkew=&quot;1800&quot;&gt;<br><br>    &lt;!-- You might want to increase the top-level log sensitivity in these files. --&gt;<br>    &lt;OutOfProcess logger=&quot;shibd.logger&quot; /&gt;<br>
    &lt;InProcess logger=&quot;native.logger&quot;&gt;<br>        &lt;ISAPI normalizeRequest=&quot;true&quot;&gt;<br>            &lt;!-- Maps IIS Instance ID values to the host name. --&gt;<br>            &lt;Site id=&quot;12345&quot; name=&quot;<a href="http://sampleidp.nowhere.com">sampleidp.nowhere.com</a>&quot;/&gt;<br>
        &lt;/ISAPI&gt;<br><br>    &lt;/InProcess&gt;<br><br>    &lt;!-- Settings for session storage and internal communication. --&gt;<br>    &lt;TCPListener address=&quot;127.0.0.1&quot; port=&quot;12345&quot; acl=&quot;127.0.0.1&quot;/&gt;<br>
    &lt;StorageService type=&quot;Memory&quot; id=&quot;mem&quot; cleanupInterval=&quot;900&quot;/&gt;<br>    &lt;SessionCache type=&quot;StorageService&quot; StorageService=&quot;mem&quot; cacheTimeout=&quot;3600&quot; inprocTimeout=&quot;900&quot; cleanupInterval=&quot;900&quot;/&gt;<br>
    &lt;ReplayCache StorageService=&quot;mem&quot;/&gt;<br><br>    &lt;RequestMapper type=&quot;Native&quot;&gt;<br>        &lt;RequestMap applicationId=&quot;default&quot;&gt;<br>            &lt;Host name=&quot;<a href="http://sampleidp.nowhere.com">sampleidp.nowhere.com</a>&quot; applicationId=&quot;auth-sample&quot;&gt;<br>
                &lt;Path name=&quot;secure&quot; authType=&quot;shibboleth&quot; requireSession=&quot;true&quot; requireSessionWith=&quot;SampleIdP&quot; /&gt;<br>            &lt;/Host&gt;<br>        &lt;/RequestMap&gt;<br>
    &lt;/RequestMapper&gt;<br><br>    &lt;!-- The entityID is the name TestShib made for your SP. --&gt;<br>    &lt;ApplicationDefaults id=&quot;default&quot; policyId=&quot;default&quot; REMOTE_USER=&quot;eppn&quot;<br>        entityID=&quot;<a href="https://myspd.nowhere.com/shibboleth-sp">https://myspd.nowhere.com/shibboleth-sp</a>&quot;<br>
        homeURL=&quot;<a href="https://myspd.nowhere.com/index.html">https://myspd.nowhere.com/index.html</a>&quot;&gt;<br><br>        &lt;Sessions lifetime=&quot;28800&quot; timeout=&quot;3600&quot; checkAddress=&quot;false&quot; handlerURL=&quot;/Shibboleth.sso&quot; handlerSSL=&quot;false&quot;&gt;<br>
            &lt;SessionInitiator type=&quot;Chaining&quot; Location=&quot;/Login&quot; isDefault=&quot;false&quot; id=&quot;SampleIdP&quot; relayState=&quot;cookie&quot; entityID=&quot;<a href="https://sampleidp.nowhere.com/idp/shibboleth">https://sampleidp.nowhere.com/idp/shibboleth</a>&quot;&gt;<br>
                &lt;SessionInitiator type=&quot;SAML2&quot; acsIndex=&quot;1&quot; template=&quot;bindingTemplate.html&quot;/&gt;<br>                &lt;SessionInitiator type=&quot;Shib1&quot; acsIndex=&quot;5&quot;/&gt;<br>
            &lt;/SessionInitiator&gt;<br>       <br>            &lt;!-- How and where the SP listens. --&gt;<br>            &lt;md:AssertionConsumerService Location=&quot;/SAML2/POST&quot; index=&quot;1&quot; Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&quot;/&gt;<br>
            &lt;md:AssertionConsumerService Location=&quot;/SAML/POST&quot; index=&quot;6&quot; Binding=&quot;urn:oasis:names:tc:SAML:1.0:profiles:browser-post&quot;/&gt;<br>            &lt;Handler type=&quot;MetadataGenerator&quot; Location=&quot;/Metadata&quot; signing=&quot;false&quot;/&gt;<br>
            &lt;Handler type=&quot;Status&quot; Location=&quot;/Status&quot; acl=&quot;127.0.0.1&quot;/&gt;<br>            &lt;Handler type=&quot;Session&quot; Location=&quot;/Session&quot;/&gt;<br>            <br>            &lt;!-- LogoutInitiators enable SP-initiated local or global/single logout of sessions. --&gt;<br>
            &lt;LogoutInitiator type=&quot;Chaining&quot; Location=&quot;/Logout&quot;&gt;<br>                &lt;LogoutInitiator type=&quot;SAML2&quot; template=&quot;bindingTemplate.html&quot;/&gt;<br>                &lt;LogoutInitiator type=&quot;Local&quot;/&gt;<br>
            &lt;/LogoutInitiator&gt;<br><br>            &lt;!-- md:SingleLogoutService locations handle single logout (SLO) protocol messages. --&gt;<br>            &lt;!--<br>            &lt;md:SingleLogoutService Location=&quot;/SLO/SOAP&quot;<br>
                Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:SOAP&quot;/&gt;<br>            &lt;md:SingleLogoutService Location=&quot;/SLO/Redirect&quot; conf:template=&quot;bindingTemplate.html&quot;<br>                Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect&quot;/&gt;<br>
            &lt;md:SingleLogoutService Location=&quot;/SLO/POST&quot; conf:template=&quot;bindingTemplate.html&quot;<br>                Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&quot;/&gt;<br>            &lt;md:SingleLogoutService Location=&quot;/SLO/Artifact&quot; conf:template=&quot;bindingTemplate.html&quot;<br>
                Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact&quot;/&gt;<br>            --&gt;<br>        &lt;/Sessions&gt;<br><br>        &lt;!-- Error pages to display to yourself if something goes horribly wrong. --&gt;<br>
        &lt;Errors session=&quot;sessionError.html&quot; metadata=&quot;metadataError.html&quot; access=&quot;accessError.html&quot; ssl=&quot;sslError.html&quot;<br>            supportContact=&quot;root@localhost&quot; logoLocation=&quot;/shibboleth-sp/logo.jpg&quot; styleSheet=&quot;/shibboleth-sp/main.css&quot;/&gt;<br>
<br>        &lt;!-- Loads and trusts a metadata file from InCommon. --&gt;<br>        &lt;!--<br>        &lt;MetadataProvider type=&quot;XML&quot; uri=&quot;<a href="https://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml">https://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml</a>&quot; backingFilePath=&quot;incommon-metadata.xml&quot; reloadInterval=&quot;7200&quot;&gt;<br>
            &lt;MetadataFilter type=&quot;RequireValidUntil&quot; maxValidityInterval=&quot;2419200&quot;/&gt;<br>            &lt;MetadataFilter type=&quot;Signature&quot; certificate=&quot;incommon.pem&quot;/&gt;<br>        &lt;/MetadataProvider&gt;<br>
        --&gt;<br>        &lt;!-- Attribute and trust options you shouldn&#39;t need to change. --&gt;<br>        &lt;TrustEngine type=&quot;ExplicitKey&quot;/&gt;<br>        &lt;AttributeExtractor type=&quot;XML&quot; path=&quot;attribute-map.xml&quot;/&gt;<br>
        &lt;AttributeResolver type=&quot;Query&quot;/&gt;<br>        &lt;AttributeFilter type=&quot;XML&quot; path=&quot;attribute-policy.xml&quot;/&gt;<br><br>        &lt;!-- Your SP generated these credentials.  They&#39;re used to talk to IdP&#39;s. --&gt;<br>
        &lt;CredentialResolver type=&quot;File&quot; key=&quot;sp-key.pem&quot; certificate=&quot;sp-cert.pem&quot;/&gt;<br>        <br>    &lt;ApplicationOverride id=&quot;auth-sample&quot; entityID=&quot;<a href="http://sampleidp.nowhere.com">sampleidp.nowhere.com</a>&quot;&gt;<br>
        &lt;MetadataProvider type=&quot;XML&quot; file=&quot;sampleidp-idp-metadata.xml&quot;/&gt;<br>    &lt;/ApplicationOverride&gt;<br>        <br>    &lt;/ApplicationDefaults&gt;<br><br>    <br>    &lt;!-- Security policies you shouldn&#39;t change unless you know what you&#39;re doing. --&gt;<br>
    &lt;SecurityPolicies&gt;<br>        &lt;Policy id=&quot;default&quot; validate=&quot;false&quot;&gt;<br>            &lt;Rule type=&quot;MessageFlow&quot; checkReplay=&quot;true&quot; expires=&quot;60&quot;/&gt;<br>            &lt;Rule type=&quot;ClientCertAuth&quot; errorFatal=&quot;true&quot;/&gt;<br>
            &lt;Rule type=&quot;XMLSigning&quot; errorFatal=&quot;true&quot;/&gt;<br>        &lt;/Policy&gt;<br>    &lt;/SecurityPolicies&gt;<br><br>&lt;/SPConfig&gt;<br><br><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 2:22 PM, Jason Johnson <span dir="ltr">&lt;<a href="mailto:jasonaj@gmail.com">jasonaj@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am wanting to convert my existing Shibboleth SP installation from a native (using local SP metadata file AND connecting to IDPs using local metadata files) to an InCommon/Shibboleth SP installation (with my SP metadata being pulled from InCommon).  My biggest hurdle is I don&#39;t see where in the shibboleth2.xml file I need to specify that my SP metadata is to now be supplied remotely.  I have seen this line mentioned a few times in other posts:<br>

<br>
&lt;MetadataProvider type=&quot;XML&quot; uri=&quot;<a href="https://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml" target="_blank">https://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml</a>&quot; backingFilePath=&quot;incommon-metadata.xml&quot; reloadInterval=&quot;7200&quot;&gt;<br>

&lt;MetadataFilter type=&quot;RequireValidUntil&quot; maxValidityInterval=&quot;2419200&quot; /&gt;<br>
&lt;MetadataFilter type=&quot;Signature&quot; certificate=&quot;incommon.pem&quot; /&gt;<br>
&lt;/MetadataProvider&gt;<br>
<br>
However, I was under the impression that this XML attribute was to tell Shibboleth how to interact with the IDPs.  Do I have that wrong?  Does it control both??<br>
<br>
My end goal is the following:<br>
<br>
1.  Use my new InCommon SP metadata for all my connections<br>
2.  Use InCommon IDPs for those that are in InCommon<br>
3.  Use local IDP metadata files for those not in InCommon<br>
4.  All this using one Shibboleth installation.<br>
<br>
Thanks,<br>
Jason<br>
</blockquote></div><br>