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

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 730b8631a4e3afcef9a47bd066c77ef6528dcfaa
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Dec 1 12:02:25 2026 +0000

    Correct the documentation of the secure and multicast send options
    
    The secure and multicast message send options were documented as not
    implemented. Both are. Secure sends the message using TLS and multicast
    sends it as a UDP datagram to the membership multicast address.
    
    Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---
 webapps/docs/changelog.xml              |  5 +++++
 webapps/docs/config/cluster-manager.xml | 15 +++++++++++++--
 webapps/docs/config/cluster-valve.xml   | 15 +++++++++++++--
 webapps/docs/config/cluster.xml         | 15 +++++++++++++--
 4 files changed, 44 insertions(+), 6 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 541536409f..cf55599f11 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -623,6 +623,11 @@
         configuration and security considerations. Based on pull request
         <pr>1134</pr> by sainadh777. (markt)
       </docs>
+      <docs>
+        Correct the documentation of the <code>secure</code> and
+        <code>multicast</code> message send options for clusters. Both are
+        implemented. (markt)
+      </docs>
       <fix>
         Improve reporting of faulty members when sending of cluster messages
         fails. (markt)
diff --git a/webapps/docs/config/cluster-manager.xml 
b/webapps/docs/config/cluster-manager.xml
index ea7681d038..9a563e872b 100644
--- a/webapps/docs/config/cluster-manager.xml
+++ b/webapps/docs/config/cluster-manager.xml
@@ -244,11 +244,22 @@
               processed by the receiving node in a different order to the order
               in which they were sent.</dd>
           <dt><code>secure</code> or <code>16</code></dt>
-          <dd>Not implemented. Has no effect if used.</dd>
+          <dd>The message will be sent using TLS. Both <code>pskIdentity</code>
+              and <code>pskKey</code> must be configured on the channel and the
+              message is not sent if TLS is unavailable. This option can not be
+              used with <code>udp</code> or <code>multicast</code>. If the
+              <code>secure</code> attribute of the channel is 
<code>true</code>,
+              this option is added to every message.</dd>
           <dt><code>udp</code> or <code>32</code></dt>
           <dd>The message will be sent using UDP instead of TCP.</dd>
           <dt><code>multicast</code> or <code>64</code></dt>
-          <dd>Not implemented. Messages will not be sent if used.</dd>
+          <dd>The message will be sent as a UDP datagram to the multicast
+              address used by the membership service rather than to each member
+              individually. Delivery is not guaranteed and the message is
+              neither authenticated nor encrypted. This option can not be used
+              with <code>secure</code> and a channel with the
+              <code>secure</code> attribute set to <code>true</code> does not
+              accept messages sent this way.</dd>
         </dl>
         <p>The default value is <code>6</code> (<code>use_ack</code> with
         <code>sync</code>).</p>
diff --git a/webapps/docs/config/cluster-valve.xml 
b/webapps/docs/config/cluster-valve.xml
index 7ab3612b27..81b970f938 100644
--- a/webapps/docs/config/cluster-valve.xml
+++ b/webapps/docs/config/cluster-valve.xml
@@ -160,11 +160,22 @@
               processed by the receiving node in a different order to the order
               in which they were sent.</dd>
           <dt><code>secure</code> or <code>16</code></dt>
-          <dd>Not implemented. Has no effect if used.</dd>
+          <dd>The message will be sent using TLS. Both <code>pskIdentity</code>
+              and <code>pskKey</code> must be configured on the channel and the
+              message is not sent if TLS is unavailable. This option can not be
+              used with <code>udp</code> or <code>multicast</code>. If the
+              <code>secure</code> attribute of the channel is 
<code>true</code>,
+              this option is added to every message.</dd>
           <dt><code>udp</code> or <code>32</code></dt>
           <dd>The message will be sent using UDP instead of TCP.</dd>
           <dt><code>multicast</code> or <code>64</code></dt>
-          <dd>Not implemented. Messages will not be sent if used.</dd>
+          <dd>The message will be sent as a UDP datagram to the multicast
+              address used by the membership service rather than to each member
+              individually. Delivery is not guaranteed and the message is
+              neither authenticated nor encrypted. This option can not be used
+              with <code>secure</code> and a channel with the
+              <code>secure</code> attribute set to <code>true</code> does not
+              accept messages sent this way.</dd>
         </dl>
         <p>The default value is <code>6</code> (<code>use_ack</code> with
         <code>sync</code>).</p>
diff --git a/webapps/docs/config/cluster.xml b/webapps/docs/config/cluster.xml
index 0ca2f9b317..483cd17d23 100644
--- a/webapps/docs/config/cluster.xml
+++ b/webapps/docs/config/cluster.xml
@@ -167,11 +167,22 @@
               processed by the receiving node in a different order to the order
               in which they were sent.</dd>
           <dt><code>secure</code> or <code>16</code></dt>
-          <dd>Not implemented. Has no effect if used.</dd>
+          <dd>The message will be sent using TLS. Both <code>pskIdentity</code>
+              and <code>pskKey</code> must be configured on the channel and the
+              message is not sent if TLS is unavailable. This option can not be
+              used with <code>udp</code> or <code>multicast</code>. If the
+              <code>secure</code> attribute of the channel is 
<code>true</code>,
+              this option is added to every message.</dd>
           <dt><code>udp</code> or <code>32</code></dt>
           <dd>The message will be sent using UDP instead of TCP.</dd>
           <dt><code>multicast</code> or <code>64</code></dt>
-          <dd>Not implemented. Messages will not be sent if used.</dd>
+          <dd>The message will be sent as a UDP datagram to the multicast
+              address used by the membership service rather than to each member
+              individually. Delivery is not guaranteed and the message is
+              neither authenticated nor encrypted. This option can not be used
+              with <code>secure</code> and a channel with the
+              <code>secure</code> attribute set to <code>true</code> does not
+              accept messages sent this way.</dd>
         </dl>
         <p>The default value is <code>8</code> (<code>async</code>).</p>
     </attribute>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to