Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reorder description of import rules

...

  1. Silently remove all imported entities with XML attribute mdrpi:RegistrationInfo[@registrationAuthority='https://incommon.org']
    1. Entities so marked must come from primary sources only.
  2. Silently remove all entity attributes not on the Entity Attribute Whitelist (see subsection below)
  3. Remove (and log the removal of) all <mdui:Logo> elements (not entities) with a URL that is not HTTPS-protected.
  4. Remove (and log the removal of) all imported entities matching one or more of the following conditions:
    1. Entities with an entityID that does not begin with one of the following prefixes: “http://”, “https://”, “urn:mace
    2. Entities with weak keys (which includes all keys less than 2048-bits in length)
      1. The use of weak keys in metadata has security and privacy implications.
      2. There are no weak keys in InCommon metadata and so we'd like to keep it that way.
    3. IdP entities with a faulty <shibmd:Scope> element
      1. Require regexp attribute on <shibmd:Scope>
      2. Disallow <shibmd:Scope regexp="true">
    4. IdP entities with an endpoint location that is not HTTPS-protected
    5. IdP entities that do not have a SAML2 SingleSignOnService endpoint that supports the HTTP-Redirect binding.
      1. In effect, all imported IdPs must support SAML2.
    6. SP entities that do not have at least one SAML2 AssertionConsumerService endpoint that supports the HTTP-POST binding.
      1. In effect, all imported SPs must support SAML2.
    7. Entities containing literal CR characters.
    8. Entities containing misplaced or duplicated EntityAttributes elements.
  5. Silently remove all entity attributes not on the Entity Attribute Whitelist (see subsection below)
  6. Remove (and log the removal of) all <mdui:Logo> elements (not entities) with a URL that is not HTTPS-protected.
  7. Silently remove all extended XML elements and attributes defined in namespaces not on the XML Namespace Whitelist (see subsection below)
  8. Silently remove all imported entities that have the same entityID as an existing entity in the InCommon aggregate.
    1. This happens because some SPs choose to join multiple federations.
    2. Dozens of global SPs are filtered by this rule.
    Silently remove all extended XML elements and attributes defined in namespaces not on the XML Namespace Whitelist (see subsection below)

A number of additional rules are applied to ensure metadata correctness. Some common minor errors are corrected but entities failing checks such as XML schema validity are removed.

...