Repository: cloudstack Updated Branches: refs/heads/master ff7ef985f -> ec2639e8f
server: last cherry-picked commit failed to remove code Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/25b0bd62 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/25b0bd62 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/25b0bd62 Branch: refs/heads/master Commit: 25b0bd620a758532c90c0996a4447d7c32048ab9 Parents: ff7ef98 Author: Rohit Yadav <[email protected]> Authored: Sat Feb 28 18:24:44 2015 +0530 Committer: Rohit Yadav <[email protected]> Committed: Fri Mar 6 21:44:24 2015 +0530 ---------------------------------------------------------------------- server/src/com/cloud/api/ApiServlet.java | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/25b0bd62/server/src/com/cloud/api/ApiServlet.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/api/ApiServlet.java b/server/src/com/cloud/api/ApiServlet.java index 1fd16ba..dccc9e7 100644 --- a/server/src/com/cloud/api/ApiServlet.java +++ b/server/src/com/cloud/api/ApiServlet.java @@ -161,14 +161,6 @@ public class ApiServlet extends HttpServlet { } HttpSession session = req.getSession(false); - if (ApiServer.isSecureSessionCookieEnabled()) { - resp.setHeader("SET-COOKIE", "JSESSIONID=" + session.getId() + ";Secure;Path=/client"); - if (s_logger.isDebugEnabled()) { - if (s_logger.isDebugEnabled()) { - s_logger.debug("Session cookie is marked secure!"); - } - } - } final Object[] responseTypeParam = params.get(ApiConstants.RESPONSE); if (responseTypeParam != null) { responseType = (String)responseTypeParam[0];
