Hi, Can anyone give me a best practice answer on adding information to the session immediately after successfully authenticating a user?
I am currently using the DatabaseServerLoginModule and have my users and roles etc in a database. If the user has provided a valid username and password through j_username and j_password and is authenticated I want to run a query to select some data from the database and add it to the session. I was thinking that I just need to subclass the DatabaseServerLoginModule and overide either the "login()" or "commit()" method in it's parent class which authenticates the user... this way I could tag on my "select" at the end and put the result in the session..... Is this the right way to go? Cheers Paul. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949588#3949588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949588 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user