Class RequestAuthorizeSignatureV4

    • Method Detail

      • useChunkedUpload

        protected boolean useChunkedUpload​(HttpRequest request)
        returns true, if use AWS S3 chunked upload.
      • signForTemporaryAccess

        public HttpRequest signForTemporaryAccess​(HttpRequest request,
                                                  long timeInSeconds)
        Using query parameters to authenticate requests is useful when you want to express a request entirely in a URL. This method is also referred as presigning a URL. Presigned URLs enable you to grant temporary access to your Amazon S3 resources. The end user can then enter the presigned URL in his or her browser to access the specific Amazon S3 resource. You can also use presigned URLs to embed clickable links in HTML.

        For example, you might store videos in an Amazon S3 bucket and make them available on your website by using presigned URLs. Identifies the version of AWS Signature and the algorithm that you used to calculate the signature.

        Specified by:
        signForTemporaryAccess in interface RequestAuthorizeSignature