anchor.diff:      <!--      Relying Party Configurations          -->
       <!-- ========================================== -->
       <% if node["shibboleth_idp"].has_key?("default_provider")
  -         provider = node["shibboleth_idp"]["default_provider"]
  +         defprovider = node["shibboleth_idp"]["default_provider"]
          else
  -         provider = "https://" + node["shibboleth_idp"]["domain"] + "/idp/shibboleth"
  +         defprovider = "https://" + node["shibboleth_idp"]["domain"] + "/idp/shibboleth"
          end
        -%>
  -    <rp:AnonymousRelyingParty provider="<%= provider %>" defaultSigningCredentialRef="IdPCredential"/>
  -    
  -    <rp:DefaultRelyingParty provider="<%= provider %>" defaultSigningCredentialRef="IdPCredential">
  +    <rp:AnonymousRelyingParty provider="<%= defprovider %>" defaultSigningCredentialRef="IdPCredential"/>
  +    
  +    <rp:DefaultRelyingParty provider="<%= defprovider %>" defaultSigningCredentialRef="IdPCredential">
           <!-- 
               Each attribute in these profiles configuration is set to its default value,
               that is, the values that would be in effect if those attributes were not present.
  
positive.code: 
        <% @remotemetadata.each do |name,url| -%>
          <metadata:MetadataProvider xsi:type="FileBackedHTTPMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
            id="<%= name %>"
            metadataURL="<%= url %>"
            backingFile="<%= node["shibboleth_idp"]["home"] %>/metadata/<%= name %>-metadata.xml">
          </metadata:MetadataProvider>
  
negative.code:              next if not file =~ /.*\.xml$/
          -%>
          <metadata:MetadataProvider xsi:type="FilesystemMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
              id="_<%= File.basename(file, ".xml") %>"
              metadataFile="<%= dir %>/<%= file %>" />
          <% end -%>
        <% end -%>
  