You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Franck DARRAS <fd...@sylob.com> on 2005/03/16 10:39:43 UTC

Https to HTTP - Rewrite URL with login and password parameter

Hello, 
 
I have a problem with my login page. I want to use the SSL extensions 
just for my login page, but i pass to a non secure page after the login, 
the plug-ins rewrite url with the login and the password in paramter. 
 
Where is my error ? 
 
Thsk for your help 
 
This is my struts config 
 
<!-- Go to the login JSP page --> 
<action path="/authentification" forward="/index.jsp" > 
<set-property property="secure" value="true"/> 
</action> 
 
<!-- Action to validate login and password --> 
<action path="/j_security_check" 
type="com.sylob.cochise.dm1.war.general.identifier.IdentifierAction" 
name="SecuriteForm" 
scope="request" 
validate="true"  
input="/index.jsp"> 
<set-property property="secure" value="true"/> 
<forward name="success" path="/authenticate.do" /> 
<forward name="retry" path="/index.jsp" /> 
</action> 
 
<!-- Action to forward in non secure page --> 
<action path="/authenticate" 
type="com.sylob.cochise.dm1.war.general.identifier.IdentifierAction" 
 > 
<set-property property="secure" value="false"/> 
<forward name="success" contextRelative="false" 
path="/switch.do?page=/accueil.do&amp;prefix=" /> 
</action>



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


Re: Https to HTTP - Rewrite URL with login and password parameter [Plain Format]

Posted by Franck DARRAS <fd...@sylob.com>.
Hello,

I have a proble with my login page. I want to use the SSL extensions
just for my login page, but i pass to a non secure page after the login,
the plug-ins rewrite url with the login and the password in paramter.

Where is my error ?

Thsk for your help

This is my struts config

<!-- Go to the login JSP page -->
<action path="/authentification" forward="/index.jsp" >
       <set-property property="secure" value="true"/>
</action>

<!-- Action to validate login and password -->
<action path="/j_security_check"
type="com.sylob.cochise.dm1.war.general.identifier.IdentifierAction"
                   name="SecuriteForm"
                   scope="request"
                   validate="true"
                   input="/index.jsp">
         <set-property property="secure" value="true"/>
         <forward name="success" path="/authenticate.do" />
        <forward name="retry" path="/index.jsp" />
</action>

<!-- Action to forward in non secure page -->
<action path="/authenticate"
  type="com.sylob.cochise.dm1.war.general.identifier.IdentifierAction" >
     <set-property property="secure" value="false"/>
     <forward name="success" contextRelative="false"
path="/switch.do?page=/accueil.do&amp;prefix=" />
</action>




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