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

SAMLMetadataSupport#getDescriptorExtensions contract too restrictive

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: SAML Metadata
    • Labels:
      None

      Description

      getDescriptorExtensions returns null unless the node passed in is either an EntitiesDescriptor or an EntityDescriptor. There doesn't seem to be any reason for this, and it prevents use of the method on, say, role descriptors.

      The contract for this method should be broadened after checking call sites for any clues as to why this restriction is present in the first place.

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            1 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 - 20 minutes
                20m