details:   https://code.openbravo.com/erp/devel/pi/rev/5ae490fd3146
changeset: 33340:5ae490fd3146
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Feb 02 09:09:39 2018 +0100
summary:   related to issue 37667: Cookie should be regenerated when logging

  -removed uncommented param in javadoc
  -updated copyright

diffstat:

 src/org/openbravo/base/secureApp/LoginHandler.java |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r f595982b782e -r 5ae490fd3146 
src/org/openbravo/base/secureApp/LoginHandler.java
--- a/src/org/openbravo/base/secureApp/LoginHandler.java        Fri Feb 02 
08:50:27 2018 +0100
+++ b/src/org/openbravo/base/secureApp/LoginHandler.java        Fri Feb 02 
09:09:39 2018 +0100
@@ -1,7 +1,7 @@
 /*
  
************************************************************************************
 
- * Copyright (C) 2001-2017 Openbravo S.L.U.
+ * Copyright (C) 2001-2018 Openbravo S.L.U.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at 
http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  
distributed
@@ -171,8 +171,6 @@
    * This method invalidates the current session and generates a new one on 
the fly, thus generating
    * a new JSSESSIONID cookie. It is called every time the user logs in to 
prevent some malicious
    * user from stealing a cookie which later on will correspond with a valid 
session
-   * 
-   * @param req
    */
   private void resetCookieId(HttpServletRequest req) {
     HttpSession httpSession = req.getSession(false);

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to