cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/2] git commit: updated refs/heads/master to ec2639e
Date Fri, 06 Mar 2015 16:14:46 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master ff7ef985f -> ec2639e8f


server: last cherry-picked commit failed to remove code

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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 <rohit.yadav@shapeblue.com>
Authored: Sat Feb 28 18:24:44 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
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];


Mime
View raw message