jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs-google] JCLOUDS-902: Google Cloud Storage signed URLs (#175)
Date Thu, 20 Apr 2017 08:14:00 GMT
andrewgaul commented on this pull request.



> +import com.google.inject.name.Named;
+
+public final class GoogleCloudStorageBlobRequestSigner implements BlobRequestSigner {
+   private static final int DEFAULT_EXPIRY_SECONDS = 15 * 60;
+   private static final URI STORAGE_URL = URI.create("http://storage.googleapis.com/");
+
+   private final Supplier<Credentials> creds;
+   private final Supplier<PrivateKey> privateKey;
+   private final Provider<Long> timestamp;
+   private final HttpUtils utils;
+
+   private final BlobToHttpGetOptions toGetOptions = new BlobToHttpGetOptions();
+
+   @Resource
+   @Named(Constants.LOGGER_SIGNATURE)
+   Logger signatureLog = Logger.NULL;

Done.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/175#discussion_r112391335
Mime
View raw message