* @return base 64 encoded basic auth credentials\r
*/\r
def getBasicAuth(encryptedAuth, msoKey){\r
+ if ((encryptedAuth == null || encryptedAuth.isEmpty()) || (msoKey == null || msoKey.isEmpty()))\r
+ return null\r
try {\r
def auth = decrypt(encryptedAuth, msoKey)\r
byte[] encoded = Base64.encodeBase64(auth.getBytes())\r