org.jclouds.aws.s3.filters
Class AWSRequestAuthorizeSignature
java.lang.Object
org.jclouds.s3.filters.RequestAuthorizeSignature
org.jclouds.aws.s3.filters.AWSRequestAuthorizeSignature
- All Implemented Interfaces:
- org.jclouds.http.HttpRequestFilter, org.jclouds.rest.RequestSigner
@Singleton
public class AWSRequestAuthorizeSignature
- extends org.jclouds.s3.filters.RequestAuthorizeSignature
Signs the AWS S3 request, supporting temporary signatures.
- See Also:
|
Constructor Summary |
AWSRequestAuthorizeSignature(org.jclouds.http.internal.SignatureWire signatureWire,
String authTag,
boolean isVhostStyle,
String servicePath,
String headerTag,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds,
javax.inject.Provider<String> timeStampProvider,
org.jclouds.crypto.Crypto crypto,
org.jclouds.http.HttpUtils utils)
|
| Methods inherited from class org.jclouds.s3.filters.RequestAuthorizeSignature |
createStringToSign, filter, sign |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWSRequestAuthorizeSignature
@Inject
public AWSRequestAuthorizeSignature(org.jclouds.http.internal.SignatureWire signatureWire,
@Named(value="jclouds.aws.auth.tag")
String authTag,
@Named(value="jclouds.s3.virtual-host-buckets")
boolean isVhostStyle,
@Named(value="jclouds.s3.service-path")
String servicePath,
@Named(value="jclouds.aws.header.tag")
String headerTag,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds,
javax.inject.Provider<String> timeStampProvider,
org.jclouds.crypto.Crypto crypto,
org.jclouds.http.HttpUtils utils)
replaceAuthorizationHeader
protected org.jclouds.http.HttpRequest replaceAuthorizationHeader(org.jclouds.http.HttpRequest request,
String signature)
- Overrides:
replaceAuthorizationHeader in class org.jclouds.s3.filters.RequestAuthorizeSignature
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.