You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lp...@apache.org on 2024/01/11 06:38:28 UTC

(shiro-site) 01/01: enh(jakarta-ee): added docs for system properties for resubmit config

This is an automated email from the ASF dual-hosted git repository.

lprimak pushed a commit to branch ee-sysprops-resubmit
in repository https://gitbox.apache.org/repos/asf/shiro-site.git

commit 0960421e7267a712a766753b89b7ae4d76209bfb
Author: lprimak <le...@flowlogix.com>
AuthorDate: Thu Jan 11 00:38:07 2024 -0600

    enh(jakarta-ee): added docs for system properties for resubmit config
---
 src/site/content/jakarta-ee.adoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/site/content/jakarta-ee.adoc b/src/site/content/jakarta-ee.adoc
index 17af25878..a52fa9118 100644
--- a/src/site/content/jakarta-ee.adoc
+++ b/src/site/content/jakarta-ee.adoc
@@ -318,6 +318,7 @@ During form resubmissions, the original request is replayed, and the response is
     <param-value>false</param-value>
 </context-param>
 ----
+By default, form resubmission logic replays the request to the original URI. This works for most cases, but in some deployments, such as certain Docker or Kubernetes, host, port or both need to be modified during resubmission. There are two system properties to allow this: `org.apache.shiro.form-resubmit-host` (String) and `org.apache.shiro.form-resubmit-port` (Integer).
 
 ==== Configuring for Tomcat / Jetty (or without Jakarta Faces)
 If Jakarta Faces (JSF) is not available in your environment, you need to put the following into your `web.xml` to enable proper OmniFaces initialization: