something like
<security-constraint>
<web-resource-collection>
<web-resource-name>Automatic SSL Forwarding</web-resource-name>
<url-pattern>*</url-pattern>
</web-resource-collection>-->
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
but you might have to hit the docs
Filip
William Chu wrote:
Hi Filip,
Thank you for the help. Much appreciated. However, when I add the
security constraint to my web.xml, I do not get redirected to the
https url. I get the http url. Any ideas?
Thank you,
Will
<?xml version="1.0" encoding="ISO-8859-1"?>
<webapps>
<!-- Special rules for the admin webapplication -->
<Context path="/Web"
docBase="webapps/Web"
reloadable="false"
trusted="true" >
</Context>
<Context path=""
docBase="webapps/ROOT"
reloadable="false"
trusted="true" >
</Context>
<security-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
</webapps>
On 8/4/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
I just responded to this yesterday,
web.xml for your web-application
http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727
user-data-constraint & CONFIDENTIAL
Filip
William Chu wrote:
> How do I direct a user to the https url when they use the http url?
>
> i.e. http://<url> is directed to https://<url>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]