Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C31A7200C45 for ; Tue, 28 Mar 2017 21:48:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1A16160B89; Tue, 28 Mar 2017 19:48:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 13D48160B6B for ; Tue, 28 Mar 2017 21:48:30 +0200 (CEST) Received: (qmail 74245 invoked by uid 500); 28 Mar 2017 19:48:30 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 74233 invoked by uid 99); 28 Mar 2017 19:48:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2017 19:48:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CE502DFF0F; Tue, 28 Mar 2017 19:48:29 +0000 (UTC) From: sdutry To: dev@struts.apache.org Reply-To: dev@struts.apache.org References: In-Reply-To: Subject: [GitHub] struts-extras pull request #3: added module for extra result types Content-Type: text/plain Message-Id: <20170328194829.CE502DFF0F@git1-us-west.apache.org> Date: Tue, 28 Mar 2017 19:48:29 +0000 (UTC) archived-at: Tue, 28 Mar 2017 19:48:31 -0000 Github user sdutry commented on a diff in the pull request: https://github.com/apache/struts-extras/pull/3#discussion_r108519883 --- Diff: struts2-custom-results-plugin/README.md --- @@ -0,0 +1,42 @@ +# Apache Struts 2 Extras - custom results plugin + +[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) + +This plugin provides additional result types. + +## Supported versions + +This plugin can be used with the Apache Struts versions 2.5.x . + +## Result Type categories + +### SSL offloading support + +These result types are made to support redirecting under the https protocol while being behind a SSL offloading proxy. + +#### Result Types + +##### sslOffloadRedirect + +This Result Type should replace the `redirect` Result Type. +It takes into account 2 ways of detecting the offloading: +- `X-Forwarded-Proto` header (de-facto standard header) +- `proto` attribute of the `Forwarded` header ( [RFC7239](https://tools.ietf.org/html/rfc7239) ) + +##### sslOffloadRedirectAction + +This Result Type should replace the `redirectAction` Result Type. +It takes into account 2 ways of detecting the offloading: +- `X-Forwarded-Proto` header (de-facto standard header) +- `proto` attribute of the `Forwarded` header ( [RFC7239](https://tools.ietf.org/html/rfc7239) ) + +#### struts packages + +##### ssl-offload + +Only thing this package does is defining the result types so that they can be used. + +##### ssl-offload-default + +Merely combines the `struts-default` package and the `ssl-offload` package. --- End diff -- Added information on how to get the result types available to you. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org