CLOUDSTACK-3626 register the correct user and account for api calls made with api keys and secret keys

This commit is contained in:
Chiradeep Vittal 2013-07-25 14:45:59 +05:30
parent e432ce6f77
commit 1744ed7ad5

View File

@ -745,6 +745,8 @@ public class ApiServer extends ManagerBase implements HttpRequestHandler, ApiSer
boolean equalSig = signature.equals(computedSignature);
if (!equalSig) {
s_logger.info("User signature: " + signature + " is not equaled to computed signature: " + computedSignature);
} else {
CallContext.register(user, account);
}
return equalSig;
} catch (ServerApiException ex){