Uploaded image for project: 'Metadata Aggregator'
  1. Metadata Aggregator
  2. MDA-168

EntityAttributeFilteringStage mishandles multiple containers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2, 0.10.0
    • Component/s: SAML Metadata
    • Labels:
      None
    • Operating System:
      Multiple

      Description

      The MDATTR specification requires that an entity must have all its entity attributes in one mdattr:EntityAttributes basket. The EntityAttributeFilteringStage relies on this part of the specification by only filtering the first such container.

      This means that if there is more than one mdattr:EntityAttributes container, the second and subsequent ones are ignored and left unfiltered. If one is relying on filtering to keep unwanted things out of one's metadata, this is undesirable.

      Having the stage throw a processing exception seems overly harsh in this case, and giving it the option of marking the Item with an ErrorStatus would be a significant change to its contract. Combining all entity attributes into one container as a side-effect of EntityAttributeFilteringStage seems likewise out of its scope.

      The best remaining approach appears to be to filter each such container independently.

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 12 minutes
                1h 12m