From 1744ed7ad5b512135e567576271e11a6e26e4379 Mon Sep 17 00:00:00 2001 From: Chiradeep Vittal Date: Thu, 25 Jul 2013 14:45:59 +0530 Subject: [PATCH] CLOUDSTACK-3626 register the correct user and account for api calls made with api keys and secret keys --- server/src/com/cloud/api/ApiServer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java index 08af964b6ba..91c6c7cc7cc 100755 --- a/server/src/com/cloud/api/ApiServer.java +++ b/server/src/com/cloud/api/ApiServer.java @@ -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){