mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
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…
x
Reference in New Issue
Block a user