struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdutry <...@git.apache.org>
Subject [GitHub] struts-extras pull request #3: added module for extra result types
Date Tue, 28 Mar 2017 19:48:29 GMT
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


Mime
View raw message