You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Patrick Stevens <Pa...@ctp.com> on 2004/04/02 21:31:33 UTC

secure property does not seem to work when redirect=true is specified in the forward?

Hi,

On our project, we are moving SSL offloading to a separate device, which
then forwards the non secure request to our webserver.

The result is that the application allways gets an http request, while
it should allways forward & render page links to https.

This is all working ok, except in the case where redirect="true" is
specified in the forward (normal forwards are OK). 

When "redirect=true" is specified, it allways seems to use the current
(wrong) request, as a basis to apply the forward path to, and sends it
back to the browser as http:/...  eventhough I use the secure property.

The struts-config entry for the action looks like this:

<action path="/logon" type="webapp.example.LogonAction">
    <set-property property="secure" value="true"/>
    <forward name="success" path="/index.jsp" redirect="true"/> 
</action>


Can anybody tell me how I can solve this problem?

Regards,

Patrick

----------------------------------------------------------------------
/\/\ Cambridge
\/\/ Technology Partners
Cambridge Technology Partners is a division of Novell Inc.
"The global eServices company of Novell, a leading provider of Net
business solutions."

Phone: +31 (0)20 575 0421
Mobile: +31 (0)6 50 290 775
email: patrick.stevens@ctp.com 

Rainbow Offices
ArenA Boulevard 129-133
1101 DM Amsterdam
The Netherlands
Phone: +31 (0)20 575 0575
Fax: +31 (0)20 575 0500
Internet: http://www.ctp.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org