details: https://code.openbravo.com/erp/devel/pi/rev/bd6232d1c430
changeset: 16782:bd6232d1c430
user: Iván Perdomo <ivan.perdomo <at> openbravo.com>
date: Thu Jun 07 17:36:13 2012 +0200
summary: Fixes issue 20704: Added missing init() call
- When handling the exception of, the flow falls back to the
DefaultAuthenticationManager,
we need to always call the init method to ensure proper initialization
diffstat:
src/org/openbravo/authentication/AuthenticationManager.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 3a2b4541f846 -r bd6232d1c430
src/org/openbravo/authentication/AuthenticationManager.java
--- a/src/org/openbravo/authentication/AuthenticationManager.java Thu Jun
07 17:31:22 2012 +0200
+++ b/src/org/openbravo/authentication/AuthenticationManager.java Thu Jun
07 17:36:13 2012 +0200
@@ -78,6 +78,7 @@
log4j
.error("Defined authentication manager cannot be loaded. Verify the
'authentication.class' entry in Openbravo.properties");
authManager = new DefaultAuthenticationManager(s);
+ authManager.init(s);
}
return authManager;
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits