ak58588 commented on this pull 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 );
+
+ if (ruleSAS) {
+ return true;
+ } else if (ruleKey) {
+ return false;
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_r252638559