mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3626 register the correct user and account for api calls made with api keys and secret keys
This commit is contained in:
parent
e432ce6f77
commit
1744ed7ad5
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue