Uploaded image for project: 'Spring Extensions'
  1. Spring Extensions
  2. JSE-15

Failure to create backing file for http resource

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Labels:
      None

      Description

      Using an http resource for an attribute filter file with a backing file:
              <bean
      class="net.shibboleth.ext.spring.resource.FileBackedHTTPResource"

                    c:client-ref="shibboleth.FileCachingHttpClient"

      c:url="
      http://another.server.example.org/path/to/different/file.xml
      "

      c:resource="/var/shibboleth/caches/resourcecache/differentFile.xml"/>

      The IDP errors and fails to create the backing file. If the backing file exists before IDP start-up, the file gets properly updated. Tested using the IDP conf dir (owned by the same suer as the IDP is running and confirmed to be writeable) and /tmp to make sure.

      Detailed log snippet is attached.

        Attachments

        1. idp-process.log
          774 kB
          Keith William Wessel

          Activity

            People

            • Assignee:
              rdw@iay.org.uk Rod Widdowson
              Reporter:
              kwessel@illinois.edu Keith William Wessel
            • Watchers:
              6 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 - 4 hours
                4h