org.jclouds.azure.storage.filters
Class SharedKeyLiteAuthentication
java.lang.Object
org.jclouds.azure.storage.filters.SharedKeyLiteAuthentication
- All Implemented Interfaces:
- HttpRequestFilter
@Singleton
public class SharedKeyLiteAuthentication
- extends Object
- implements HttpRequestFilter
Signs the Azure Storage request.
- Author:
- Adrian Cole
- See Also:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedKeyLiteAuthentication
@Inject
public SharedKeyLiteAuthentication(SignatureWire signatureWire,
@Named(value="jclouds.identity")
String identity,
@Named(value="jclouds.credential")
String encodedKey,
javax.inject.Provider<String> timeStampProvider,
Crypto crypto,
HttpUtils utils)
filter
public HttpRequest filter(HttpRequest request)
throws HttpException
- Specified by:
filter
in interface HttpRequestFilter
- Throws:
HttpException
createStringToSign
public String createStringToSign(HttpRequest request)
signString
public String signString(String toSign)
Copyright © 2009-2011 jclouds. All Rights Reserved.