I'm using JBoss 4.2.3 and JAAS authentication by Form.
Currently if I try to access any of my protected pages, the login page appears and then I'm redirected to the page I wanted to see.
What I want is that after the login, the user is always redirected to index.jsp.
Currently I only found this solution: http://roneiv.wordpress.com/2008/02/18/jaas-authentication-mechanism-is-it-possible-to-force-j_security_check-to-go-to-a-specific-page/
But looks a bit clumsy, isn't there a better / simpler way to achieve this?