From c932a76a11bdbddc5f49754896eb14bc0431a352 Mon Sep 17 00:00:00 2001 From: lprimak Date: Thu, 11 Jan 2024 22:10:59 -0600 Subject: [PATCH] enh(jakarta-ee): added docs for system properties for resubmit config --- src/site/content/jakarta-ee.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/site/content/jakarta-ee.adoc b/src/site/content/jakarta-ee.adoc index 17af25878..fff333ddb 100644 --- a/src/site/content/jakarta-ee.adoc +++ b/src/site/content/jakarta-ee.adoc @@ -318,6 +318,9 @@ During form resubmissions, the original request is replayed, and the response is false ---- +Alternatively, you can set `org.apache.shiro.form-resubmit.secure-cookies` system property in the same manner as above. + +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: