details: https://code.openbravo.com/erp/devel/pi/rev/eb39cf6f117a
changeset: 24316:eb39cf6f117a
user: Martin Taal <martin.taal <at> openbravo.com>
date: Sun Aug 24 18:13:24 2014 +0200
summary: Related to issue 27200: If the authentication is not required,
return null
Onl return null if no userId was determined
diffstat:
src/org/openbravo/authentication/AuthenticationManager.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r fd041f65a265 -r eb39cf6f117a
src/org/openbravo/authentication/AuthenticationManager.java
--- a/src/org/openbravo/authentication/AuthenticationManager.java Sun Aug
24 13:46:50 2014 +0000
+++ b/src/org/openbravo/authentication/AuthenticationManager.java Sun Aug
24 18:13:24 2014 +0200
@@ -147,7 +147,7 @@
}
// if we in 'forceLogin' state, there is no need to process any other code
- if ("Y".equals(request.getSession().getAttribute("forceLogin"))) {
+ if (userId == null &&
"Y".equals(request.getSession().getAttribute("forceLogin"))) {
return null;
}
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits