Hi José Manuel, if you have already configured your tomcat to work with SSL
you can filter all pages you want with the following lines in web.xml
context file:

<security-constraint>
    <web-resource-collection>
      <web-resource-name>SSL Pages</web-resource-name>
      <url-pattern>/Comun/MyPage.jsp</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
      <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
</security-constraint>

You can use wildcards in <url-pattern> like '*'...

But i have a problem too, when i like to pass from http to https this work
fines, but from https to http i don't have a definitely solution yet.

Regards

Mariano López

-----Mensaje original-----
De: José Manuel Prada Sierra [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 31 de mayo de 2004 12:57
Para: [EMAIL PROTECTED]
Asunto: combined http and https



Hi. I have an application that it was build using  tdk (turbine development
kit) and postgresql.
I have configured tomcat with http 8080 and https 8443 but i only use http
or https and i do not know how to combined both protocols. In my application
i have a section that is accesible typing login and password, but i need
that when an user link to this section, to activate the protocol https.
could somebody tell me the way to do it? Thank you.
Sorry for my english. I am a spanish.

_________________________________________________________________
Reserva desde ahora tus vacaciones en MSN Viajes. Más cómodo, más barato y
más opciones. http://www.msn.es/Viajes/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to