added struts-plugin.xml providing both a ssl-offload package and a convenience ssl-offload-default package
Project: http://git-wip-us.apache.org/repos/asf/struts-extras/repo Commit: http://git-wip-us.apache.org/repos/asf/struts-extras/commit/00137f77 Tree: http://git-wip-us.apache.org/repos/asf/struts-extras/tree/00137f77 Diff: http://git-wip-us.apache.org/repos/asf/struts-extras/diff/00137f77 Branch: refs/heads/master Commit: 00137f775abae1859743c5aedb3b1b0d23b71315 Parents: b3ce14c Author: Stefaan Dutry <stefaan.du...@gmail.com> Authored: Tue Mar 28 16:43:22 2017 +0200 Committer: Stefaan Dutry <stefaan.du...@gmail.com> Committed: Tue Mar 28 16:43:22 2017 +0200 ---------------------------------------------------------------------- .../src/main/resources/struts-plugin.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts-extras/blob/00137f77/struts2-custom-results-plugin/src/main/resources/struts-plugin.xml ---------------------------------------------------------------------- diff --git a/struts2-custom-results-plugin/src/main/resources/struts-plugin.xml b/struts2-custom-results-plugin/src/main/resources/struts-plugin.xml new file mode 100644 index 0000000..a47009e --- /dev/null +++ b/struts2-custom-results-plugin/src/main/resources/struts-plugin.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!DOCTYPE struts PUBLIC + "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN" + "http://struts.apache.org/dtds/struts-2.5.dtd"> + +<struts> + <package name="ssl-offload"> + <result-types> + <result-type name="sslOffloadRedirect" class="org.apache.struts2.result.SslOffloadAwareServletRedirectResult"/> + <result-type name="sslOffloadRedirectAction" class="org.apache.struts2.result.SslOffloadAwareServletActionRedirectResult"/> + </result-types> + </package> + + <package name="ssl-offload-default" extends="struts-default, ssl-offload"> + </package> +</struts> +