I am using form-based authentication and j_security_check in my j2ee application which runs on glassfish 3.1. Problem is when login succeed I have to update some data related to authenticated user. How to make post-login operation after j_security_check ends it's execution? Thanks.
A workaround with Servlet 3.0 (or Java EE 6): Call HttpServletRequest.login()
from a managed bean and if it doesn't throw an exception do your post login operations.