details:   https://code.openbravo.com/erp/devel/pi/rev/51081d7a2152
changeset: 13691:51081d7a2152
user:      Iván Perdomo <ivan.perdomo <at> openbravo.com>
date:      Fri Sep 09 18:28:27 2011 +0200
summary:   Fixes issue 18410: User Servlet API instead of VariablesBase
- when using vars to set an session variable it modifies the attribute and
  changes it to UPPERCASE. Too many places expect #Authenticated_user instead
  of #AUTHENTICATED_USER

diffstat:

 
modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleAuthServlet.java
 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r d2aab6bd1c3a -r 51081d7a2152 
modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleAuthServlet.java
--- 
a/modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleAuthServlet.java
      Fri Sep 09 14:11:18 2011 +0200
+++ 
b/modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleAuthServlet.java
      Fri Sep 09 18:28:27 2011 +0200
@@ -149,10 +149,10 @@
         }
       }
 
-      vars.removeSessionValue("#Authenticated_user");
+      req.getSession(true).removeAttribute("#Authenticated_user");
 
       String sessionId = createDBSession(req, user.getUsername(), 
user.getId());
-      vars.setSessionValue("#Authenticated_user", user.getId());
+      req.getSession(true).setAttribute("#Authenticated_user", user.getId());
       vars.setSessionValue("#AD_SESSION_ID", sessionId);
       vars.setSessionValue("#LOGGINGIN", "Y");
 

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to