Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Release 09.04, Release 10.04
-
Windows 2003 Server. Apache Ofbiz 2004 and Ofbiz 10
Description
Logout method do not disable autoLogin functionality. Instead of that it just initializes autoLogin in session and request.
It have to be replace autoLoginCheck for autoLoginRemove inside of logout method.
LoginEvents/LoginWorker.java
public static String logout(HttpServletRequest request, HttpServletResponse response) { // invalidate the security group list cache GenericValue userLogin = (GenericValue) request.getSession().getAttribute("userLogin"); String returnValue = "success"; if (request.getAttribute("_AUTO_LOGIN_LOGOUT_") == null) { try { returnValue = autoLoginRemove(request, response); } catch (IOException e) { Debug.logWarning(e, "", module); } } // log out from all other sessions too; do this here so that it is only done when a user explicitly logs out logoutFromAllSessions(userLogin); doBasicLogout(userLogin, request); return returnValue; }
Attachments
Attachments
Issue Links
- is depended upon by
-
OFBIZ-10206 Security issue in Token Based Authentication
- Closed
-
OFBIZ-10307 Navigate from a domain to another with automated signed in authentication
- Closed
- is related to
-
OFBIZ-10635 Correct behaviour of Autologin cookies
- Closed