ak58588 commented on this pull request.
> + request = filterKey(request);
+ }
+ utils.logRequest(signatureLog, request, "<<");
+ return request;
+ }
+
+ /**
+ *
+ * this method checks the length of the authentication string, and decides,
which auth method it represents.
+ *
+ */
+ public boolean authSAS(String credential) {
+ int length = credential.length();
+
+ boolean ruleSAS = (length < 150) && (length > 120);
+ boolean ruleKey = (length < 100) && (length > 70 );
Replaced with less code
--
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_r252638299