SLING-8869 SimpleHttpDistributionTransport does not refresh the secret for token based implementations (#28)

* Do not set the default authorization header at the time of creating the executor but delegate this responsibility to the issuer of the request such that everytime POST request is made, if the executor is token based, check for the expiry of the token and add the relevant header to the request.
* Adding NullPointer check for DistributionTransportSecretProvider#getSecret.
1 file changed
tree: 2d081ae9f92fb341396d856e7f379f8eef6b9688
  1. src/
  2. .gitignore
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. Jenkinsfile
  6. LICENSE
  7. pom.xml
  8. README.md
README.md

Build Status Test Status Maven Central JavaDocs License distribution

Apache Sling Distribution Core

This module is part of the Apache Sling project.

The Apache Sling Distribution Core bundle provides the basic code infrastructure and API implementations for the Sling Content Distribution module