RE: JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-10 Thread david.melia
Hi, regarding the error-page idea i have tried this and this does not work but thinking about it, for form based authentication you have to define a mandatory error page anyway so this would have precendence over any error page defined else where. A login failure always flows back to the page de

JNDIRealm - how to display login exceptions/error msg within form-error-page when using Form based authentication?

2008-04-09 Thread david.melia
Hi, I currently have a web application which is secured using standard J2EE security (i.e. all URL's are secured by a role). For authentication, I am using the standard tomcat JNDI realm (i.e. /error.jsp) so that I can forward onto a change password page if needed or display an appropiate er