I have created a servlet that run right after our ldap login module. This servlet will cache some user information and create a html page showing the links they have access to based on ldap roles. I have gotten it to work if the user logs in normally. That is if they request the login.jsp. However, it does not work if the user request a specific page like /John/portlets.john.jsp. Our users sometimes add specific jsps to their IE favorites. The server will ask them to log in and then forward them to john.jsp skipping the servlet. What I would like to happen in this situation is that the servlet will run after the login module to cache the user information and then forward them to john.jsp. Is this possible? Any help or pointing me in the right direction would be appreciated.
Sorry, should have added we are using JBOSS 3.2.1. Hopefully to upgrade within a month or so.