This content has been marked as final.
Show 4 replies
-
1. Re: Can't get ssl redirection to work properly
lafr Jul 5, 2005 3:45 PM (in response to thalerion)Do you have something like
<login-config> <auth-method>FORM</auth-method> <realm-name>mbi</realm-name> <form-login-config> <form-login-page>/faces/Login.jsp</form-login-page> <form-error-page>/faces/LoginError.jsp</form-error-page> </form-login-config> </login-config>
in web.xml ? -
2. Re: Can't get ssl redirection to work properly
thalerion Jul 15, 2005 6:11 AM (in response to thalerion)No I don´t have a form login in this webapp.
-
3. Re: Can't get ssl redirection to work properly
thalerion Jul 18, 2005 2:09 AM (in response to thalerion)This problem is really bothering me. I have posted a similar message in the jakarta.tomcat mailing list, but no one seem to hava a solution.
I haven't tried it yet (dont´t know if it should work anyway), but I think maybe I have to put a security domain around the application and enforce all communication to SSL that way??
Best regards
Stefan Nilsson -
4. Re: Can't get ssl redirection to work properly
thalerion Aug 3, 2005 3:00 AM (in response to thalerion)Ok, I solved it. Yeeeeehaa!! ;)
The trick was to add another url-pattern for the root context. One would think that the <url-pattern>/*</url-pattern> would suffice but it needs to be specified as <url-pattern>/</url-pattern> to work.
Best of luck to you all
/Stefan