jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aliaksandra Kharushka <notificati...@github.com>
Subject Re: [jclouds/jclouds] [JCLOUDS-1428] Support for SAS token based Authentication for Azure Blob Storage (#1270)
Date Fri, 01 Feb 2019 10:03:07 GMT
ak58588 commented on this pull request.



> +	   boolean ruleSAS = (length < 150) && (length > 120);
+	   boolean ruleKey = (length < 100) && (length > 70 );
+	   
+	   if (ruleSAS) {
+		   return true;
+	   } else if (ruleKey) {
+		   return false;
+	   } else {
+		   return false;
+	   }
+   }
+	/** 
+	* this filter method is applied only for the cases with SAS Authentication. 
+	* 
+	*/
+	public HttpRequest filterSAS(HttpRequest request, String credential) throws HttpException
{

fixed

-- 
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/pull/1270#discussion_r252993526
Mime
View raw message