This discussion is archived
0 Replies Latest reply: May 6, 2008 12:14 AM by 843844 RSS

Problem with Redirecting Login page to HTTPS

843844 Newbie
Currently Being Moderated
Hi All,

I am using Tomcat 5.5.In my application i want to redirect Login page from http to https. For that I installed SSL Certificates .Iam able to access the

https://localhost:8443/

But I don't know how to redirect Login page to https.For that I added
the below code in web.xml for Loginpage.

<security-constraint>
<web-resource-collection>
<web-resource-name>LoginController</web-resource-name>
<url-pattern>/login/Login.jsp</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>

Then i try to access the login page I'am getting 404 error:

The requested resource (/../..) is not available.
Please any one help me.