mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7089: don't log VNC password
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit e287de9fd9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
4dde4106c0
commit
d8e1bf1506
|
|
@ -146,7 +146,7 @@ public abstract class AgentHookBase implements AgentHook {
|
|||
|
||||
String sid = cmd.getSid();
|
||||
if (sid == null || !sid.equals(vm.getVncPassword())) {
|
||||
s_logger.warn("sid " + sid + " in url does not match stored sid " + vm.getVncPassword());
|
||||
s_logger.warn("sid " + sid + " in url does not match stored sid.");
|
||||
return new ConsoleAccessAuthenticationAnswer(cmd, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ public class ConsoleProxyServlet extends HttpServlet {
|
|||
|
||||
String sid = req.getParameter("sid");
|
||||
if (sid == null || !sid.equals(vm.getVncPassword())) {
|
||||
s_logger.warn("sid " + sid + " in url does not match stored sid " + vm.getVncPassword());
|
||||
s_logger.warn("sid " + sid + " in url does not match stored sid.");
|
||||
sendResponse(resp, "failed");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue