[ https://issues.apache.org/jira/browse/CLOUDSTACK-9099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274109#comment-15274109 ]
ASF GitHub Bot commented on CLOUDSTACK-9099: -------------------------------------------- Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1152#discussion_r62337130 --- Diff: server/test/com/cloud/user/MockAccountManagerImpl.java --- @@ -401,5 +403,24 @@ public Long finalyzeAccountId(String accountName, Long domainId, Long projectId, return null; } + @Override + public List<String> getKeys(GetUserKeysCmd cmd) { + return null; + } + + @Override + public void checkAccess(User user, ControlledEntity entity) + throws PermissionDeniedException { + + } + @Override + public String getConfigComponentName() { + return null; --- End diff -- Please return a blank string to avoid NPEs. > SecretKey is returned from the APIs > ----------------------------------- > > Key: CLOUDSTACK-9099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9099 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Kshitij Kansal > Assignee: Kshitij Kansal > > The sercreKey parameter is returned from the following APIs: > createAccount > createUser > disableAccount > disableUser > enableAccount > enableUser > listAccounts > listUsers > lockAccount > lockUser > registerUserKeys > updateAccount > updateUser -- This message was sent by Atlassian JIRA (v6.3.4#6332)