Class RequestAuthorizeSignatureV4

    • Method Detail

      • filter

        public org.jclouds.http.HttpRequest filter​(org.jclouds.http.HttpRequest request)
                                            throws org.jclouds.http.HttpException
        Specified by:
        filter in interface org.jclouds.http.HttpRequestFilter
        Throws:
        org.jclouds.http.HttpException
      • useChunkedUpload

        protected boolean useChunkedUpload​(org.jclouds.http.HttpRequest request)
        returns true, if use AWS S3 chunked upload.
      • signForAuthorizationHeader

        protected org.jclouds.http.HttpRequest signForAuthorizationHeader​(org.jclouds.http.HttpRequest request)
      • signForChunkedUpload

        protected org.jclouds.http.HttpRequest signForChunkedUpload​(org.jclouds.http.HttpRequest request)
      • signForTemporaryAccess

        public org.jclouds.http.HttpRequest signForTemporaryAccess​(org.jclouds.http.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