Autologon authentication manager
Usually after changing some code, made by you or generated by WAD, you restart the tomcat server to get the latest version and be able to test it. If you are in a very productive day, you change a lot of code, so you restart your tomcat server several times. What happens? that after restarting your tomcat (depending on your server’s configuration) you loose the session and you need to log in again and again, almost every time you restart the server and that’s is annoying (at least to me).
Autologon authentication manager is your friend! You only need to set it in the Openbravo.properties, define which is the username you want to use and voila! Every time you access the application it will log in automatically using the specified user.
How to configure it?
Just add to your Openbravo.properties this lines:
authentication.class=org.openbravo.authentication.basic.AutologonAuthenticationManager
authentication.autologon.username=Openbravo
The authentication.autologon.username property defines the user you want to use.
I hope this tip will increase your productivity.
[...] also know how to configure the Autologon authentication manager that allows you login the application with the same user/password skipping the login [...]
Development tips – Part II « katratxo on Openbravo
August 20, 2010 at 10:59 am
Brilliant Article. Saves lots of time during development
Shankar Balachandran
December 14, 2011 at 11:05 am