katratxo on Software Development

tail -f /var/log/brain | grep -i software

Autologon authentication manager

with 2 comments

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.

Advertisements

Written by katratxo

December 6, 2009 at 10:00 am

Posted in Openbravo

Tagged with , ,

2 Responses

Subscribe to comments with RSS.

  1. […] also know how to configure the Autologon authentication manager that allows you login the application with the same user/password skipping the login […]

  2. Brilliant Article. Saves lots of time during development

    Shankar Balachandran

    December 14, 2011 at 11:05 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: