Prelogin filter before j_security_check
问题 I currently have a form based login in my application which is developed on Jboss portal server. I wish to do some pre login validation and redirect user to another page in case of a condition being true. How can I intercept the request before j_security_check login is executed and also forward the flow to j_security_check after that condition is found to be false. Please note that I do not want to have client side validation. This is what I was trying to do, but didn't find any success: