Repository: cloudstack Updated Branches: refs/heads/4.3 9c0ed73b8 -> d7988f17b
CLOUDSTACK-7089: don't log VNC password Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> (cherry picked from commit e287de9fd90a06ee7f86d31ba69a84481f0820f1) Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d7988f17 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d7988f17 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d7988f17 Branch: refs/heads/4.3 Commit: d7988f17b0f5bb67d2619d81145f0e4f9e737519 Parents: 9c0ed73 Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Thu Feb 26 18:10:23 2015 +0530 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Thu Feb 26 18:11:43 2015 +0530 ---------------------------------------------------------------------- server/src/com/cloud/consoleproxy/AgentHookBase.java | 2 +- server/src/com/cloud/servlet/ConsoleProxyServlet.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d7988f17/server/src/com/cloud/consoleproxy/AgentHookBase.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/consoleproxy/AgentHookBase.java b/server/src/com/cloud/consoleproxy/AgentHookBase.java index aa9e4f8..711348d 100644 --- a/server/src/com/cloud/consoleproxy/AgentHookBase.java +++ b/server/src/com/cloud/consoleproxy/AgentHookBase.java @@ -154,7 +154,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); } http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d7988f17/server/src/com/cloud/servlet/ConsoleProxyServlet.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/servlet/ConsoleProxyServlet.java b/server/src/com/cloud/servlet/ConsoleProxyServlet.java index 24ea07f..f79a972 100644 --- a/server/src/com/cloud/servlet/ConsoleProxyServlet.java +++ b/server/src/com/cloud/servlet/ConsoleProxyServlet.java @@ -306,7 +306,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; }