org.jclouds.azure.storage.filters
Class SharedKeyLiteAuthentication

java.lang.Object
  extended by org.jclouds.azure.storage.filters.SharedKeyLiteAuthentication
All Implemented Interfaces:
org.jclouds.http.HttpRequestFilter

@Singleton
public class SharedKeyLiteAuthentication
extends Object
implements org.jclouds.http.HttpRequestFilter

Signs the Azure Storage request.

See Also:

Constructor Summary
SharedKeyLiteAuthentication(org.jclouds.http.internal.SignatureWire signatureWire, 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)
           
 
Method Summary
 String createStringToSign(org.jclouds.http.HttpRequest request)
           
 org.jclouds.http.HttpRequest filter(org.jclouds.http.HttpRequest request)
           
 String signString(String toSign)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedKeyLiteAuthentication

@Inject
public SharedKeyLiteAuthentication(org.jclouds.http.internal.SignatureWire signatureWire,
                                          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)
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

createStringToSign

public String createStringToSign(org.jclouds.http.HttpRequest request)

signString

public String signString(String toSign)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.