Jim,
Works perfect for me.
<action-mappings type="org.apache.struts.config.SecureActionConfig">
<action path="/Login" type="reporting.viewer.presentation.actions.Welcome">
<set-property property="secure" value="true"/>
<forward name="success" redirect="false" path=".viewer.welcome" />
</action>
...
</action-mappings>
<controller processorClass="org.apache.struts.action.SecureTilesRequestProcessor" />
<plug-in className="org.apache.struts.tiles.SecureTilesPlugin">
<set-property property="httpPort" value="80" />
<set-property property="httpsPort" value="443" />
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
<set-property property="definitions-debug" value="3"/>
<set-property property="definitions-parser-details" value="3"/>
<set-property property="definitions-parser-validate" value="true"/>
<set-property property="moduleAware" value="true"/>
</plug-in>
On Jul 22, 2004, at 1:49 PM, Jim Kennedy wrote:
I can't seem to get any of my action to go under https. The config seems
fairly simple but I must be missing something. I want some pages to be
under SSL and others not to.
Here is my config:
Struts-config.xml (snippet only)
<!-- ========== Action Mapping Definitions ==============================
-->
<action-mappings type="org.apache.struts.config.SecureActionConfig">
<action path="/login"
type="org.apache.struts.actions.ForwardAction"
parameter="/tmpl_main.jsp?pageleft=/mainmenu.jsp&pagecenter=/ login.jsp&a
mp;pageright=/rightmenu.jsp&pagetitle=home.title.key" >
<set-property property="secure" value="true"/>
</action>
Also....
<!-- ========== Plug Ins Configuration ==================================
-->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,
/WEB-INF/validation.xml"/>
</plug-in>
<plug-in className="org.apache.struts.action.SecurePlugIn"> <set-property property="httpPort" value="8080"/> <set-property property="httpsPort" value="443"/> <set-property property="enable" value="true"/> <set-property property="addSession" value="true"/> </plug-in>
I have placed the sslext.jar in the lib directory. Assuming I have the
other necessary jars out there, what else is there left to do? I am using
form based auth. I am not using any of the ssl tag lib extensions. Don't
really won't to.
Thanks
--------------------------------------------------------------------- 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]