Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8869

SimpleHttpDistributionTransport does not refresh the secret for token based implementations.

    XMLWordPrintableJSON

Details

    Description

      While saving the contextKeyExecutor in DistributionTransportContext map, it is not expected that the secret associated with the executor could be expired. This can happen in case of access token based implementations where the token is expired after a certain period of time and has to be refreshed.

      The code to refresh the token is written in the secret provider but since the executor is cached in the map the secrets are not refreshed. It works fine for credentials based secret provider but not for access token based.

      cc - marett

      Attachments

        1. SLING-8869.patch
          3 kB
          Mohit Arora
        2. SLING-8869-new.patch
          4 kB
          Mohit Arora

        Activity

          People

            marett Timothee Maret
            mohiaror Mohit Arora
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h