Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread SKantS
Hi, I am using Apache Tomcat Version 5.5.2. I am running it on Windows XP Professional Service Pack 2. I have a form based authentication for my application: […] login-config auth-methodFORM/auth-method realm-nameAuthentication Area/realm-name form-login-config

RE: Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread SKantS
Justin Randall-5 wrote: Hi again, I thought about this a little more and I think what you're experiencing might be as a result of the RequestDispatcher. When the RequestDispatcher fowards to a URL resource, it overrides the SSL/Authentication constraints you have setup. There is a

RE: Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread SKantS
Justin Randall-5 wrote: Hello, Are you using other filters? If you are you will need the method to look like the below: public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException {