You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James <Ja...@hotmail.com> on 2003/03/11 12:04:59 UTC

SSL extension question

I''m using the sslext struts extension to switch from non ssl to ssl..
however i cant seem to get it working.
I use the url http://localhost:8080/MyApp to go to the welcome page.. and a
couple of pages later i need to switch to Https..

i have the jars in my /lib directory and i've made the following changes to
my struts-config.xml
what am i missing?

-----------
<action-mappings type="org.apache.struts.config.SecureActionConfig">

<action path="/listItems"
type="com.joe.bloggs.ListItemsAction"
name="listItemsForm"
scope="request"
input="/chooseItems.jsp">
<set-property property="secure" value="true"/>
<forward name="success" path="/payment.jsp"/>
</action>
<action-Mappings/>

<plug-in className="org.apache.struts.action.SecurePlugIn">
<set-property property="httpPort" value="8080"/>
<set-property property="httpsPort" value="8443"/>
<set-property property="enable" value="true"/>
</plug-in>




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


Re: SSL extension question

Posted by James <Ja...@hotmail.com>.
it's ok I've got it...

I missed the RequestProcessor entry in the struts-config.xml


"James" <Ja...@hotmail.com> wrote in message
news:b4kg3l$1k1$1@localhost.localdomain...
> I''m using the sslext struts extension to switch from non ssl to ssl..
> however i cant seem to get it working.
> I use the url http://localhost:8080/MyApp to go to the welcome page.. and
a
> couple of pages later i need to switch to Https..
>
> i have the jars in my /lib directory and i've made the following changes
to
> my struts-config.xml
> what am i missing?
>
> -----------
> <action-mappings type="org.apache.struts.config.SecureActionConfig">
>
> <action path="/listItems"
> type="com.joe.bloggs.ListItemsAction"
> name="listItemsForm"
> scope="request"
> input="/chooseItems.jsp">
> <set-property property="secure" value="true"/>
> <forward name="success" path="/payment.jsp"/>
> </action>
> <action-Mappings/>
>
> <plug-in className="org.apache.struts.action.SecurePlugIn">
> <set-property property="httpPort" value="8080"/>
> <set-property property="httpsPort" value="8443"/>
> <set-property property="enable" value="true"/>
> </plug-in>




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