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

can't set some properties on XMLSignatureValidationStage from Spring configurations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: DOM Metadata
    • Labels:
      None

      Description

      Attempting to set the blacklistedDigests or blacklistedSignatureMethods properties on an XMLSignatureValidationStage bean from a Spring configuration fails, with Spring claiming the property is not writable. It isn't specific about why.

      Some investigation leads me to believe that this is a bug in the version of Spring that we shipped with the 0.8.0 release (3.2.2.RELEASE) as it goes away in the latest stable version of Spring (3.2.5.RELEASE).

      One workround is to remove the older Spring JAR files from one's install and replace them with the latest version.

      I am going to try and reproduce this in a less complex context, and establish a unit test. This probably needs to be in aggregator-cli, as aggregator-pipeline itself is not dependent on Spring (the bean itself is functional).

        Attachments

          Issue Links

            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 - 1 hour, 32 minutes
                  1h 32m