mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
server: last cherry-picked commit failed to remove code
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
ff7ef985f1
commit
25b0bd620a
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user