View Single Post
  #3 (permalink)  
Old 08-03-2007, 05:55 PM
mutuah mutuah is offline
Member
 
Join Date: Jul 2007
Posts: 9
mutuah is on a distinguished road
Thanks brianhks.

Am using tomcat and servlet container and have already configured the web.xml

<security-constraint>
<display-name>secure_pages</display-name>
<web-resource-collection>
<web-resource-name>index.jsp</web-resource-name>
<description/>
<url-pattern>/index.jsp</url-pattern>
</web-resource-collection>
<user-data-constraint>
<description/>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>

but the problem is all pages become secured (https) contrary to my wish. I want the login page and later another page to be secured.

What I need is to switch between the https and http sessions.

Last edited by mutuah : 08-03-2007 at 05:57 PM. Reason: typo errors
Reply With Quote