<div dir="ltr">I believe enabling auth is sufficient, but I&#39;m not 100% sure. I&#39;ve sent an email to JGroups mailing list to confirm and I&#39;ll let you know.</div><div class="gmail_extra"><br><div class="gmail_quote">On 11 November 2015 at 23:05, Matthew Casperson <span dir="ltr">&lt;<a href="mailto:matthew.casperson@autogeneral.com.au" target="_blank">matthew.casperson@autogeneral.com.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The docs state that &quot;By default there&#39;s nothing to prevent unauthorized nodes from joining the cluster and sending potentially malicious messages to the cluster.&quot; (<a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/clustering.html" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/clustering.html</a>)<br><br></div>Is this still the case if the jgroups stack in Wildfly has implemented the AUTH protocol? For example, the Openshift Wildfly config looks something like this:<br><br><pre><code><span><code><span>    </span><span></span></code>&lt;</span><span>stack name</span><span>=</span><span>&quot;tcp&quot;</span><span>&gt;</span><span>
        </span><span>&lt;</span><span>transport type</span><span>=</span><span>&quot;TCP&quot;</span><span> socket</span><span>-</span><span>binding</span><span>=</span><span>&quot;jgroups-tcp&quot;</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;external_addr&quot;</span><span>&gt;</span><span>$</span><span>{</span><span>env</span><span>.</span><span>OPENSHIFT_GEAR_DNS</span><span>}&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;external_port&quot;</span><span>&gt;</span><span>$</span><span>{</span><span>env</span><span>.</span><span>OPENSHIFT_WILDFLY_CLUSTER_PROXY_PORT</span><span>}&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;bind_port&quot;</span><span>&gt;</span><span>$</span><span>{</span><span>env</span><span>.</span><span>OPENSHIFT_WILDFLY_CLUSTER_PORT</span><span>}&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;bind_addr&quot;</span><span>&gt;</span><span>$</span><span>{</span><span>env</span><span>.</span><span>OPENSHIFT_WILDFLY_IP</span><span>}&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;defer_client_bind_addr&quot;</span><span>&gt;</span><span>true</span><span>&lt;/</span><span>property</span><span>&gt;</span><span>
        </span><span>&lt;/</span><span>transport</span><span>&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;TCPPING&quot;</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;timeout&quot;</span><span>&gt;</span><span>30000</span><span>&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;initial_hosts&quot;</span><span>&gt;</span><span>$</span><span>{</span><span>env</span><span>.</span><span>OPENSHIFT_WILDFLY_CLUSTER</span><span>}&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;port_range&quot;</span><span>&gt;</span><span>0</span><span>&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;num_initial_members&quot;</span><span>&gt;</span><span>1</span><span>&lt;/</span><span>property</span><span>&gt;</span><span>
        </span><span>&lt;/</span><span>protocol</span><span>&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;MERGE2&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;FD&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;VERIFY_SUSPECT&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;BARRIER&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;pbcast.NAKACK&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;UNICAST2&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;pbcast.STABLE&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;AUTH&quot;</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;auth_class&quot;</span><span>&gt;</span><span>org</span><span>.</span><span>jgroups</span><span>.</span><span>auth</span><span>.</span><span>MD5Token</span><span>&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;token_hash&quot;</span><span>&gt;</span><span>SHA</span><span>&lt;/</span><span>property</span><span>&gt;</span><span>
            </span><span>&lt;</span><span>property name</span><span>=</span><span>&quot;auth_value&quot;</span><span>&gt;</span><span>$</span><span>{</span><span>env</span><span>.</span><span>OPENSHIFT_SECRET_TOKEN</span><span>}&lt;/</span><span>property</span><span>&gt;</span><span>
        </span><span>&lt;/</span><span>protocol</span><span>&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;pbcast.GMS&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;UFC&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;MFC&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;FRAG2&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;!--</span><span>protocol type</span><span>=</span><span>&quot;pbcast.STATE_TRANSFER&quot;</span><span>/&gt;</span><span>
        </span><span>&lt;</span><span>protocol type</span><span>=</span><span>&quot;pbcast.FLUSH&quot;</span><span>/--&gt;</span><span>
    </span><span>&lt;/</span><span>stack</span><span>&gt;</span></code></pre><br clear="all"><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><b><font face="tahoma, sans-serif">Matthew Casperson</font></b></div><div><b><font face="tahoma, sans-serif">Senior Front End Developer</font></b></div><div><font face="tahoma, sans-serif">Technology, Space &amp; Distribution</font></div><div><font face="tahoma, sans-serif">Auto &amp; General Holdings Pty Ltd</font></div><div><font face="tahoma, sans-serif">P: 07) 3377 </font><span style="font-family:tahoma,sans-serif;font-size:small">8751</span><font face="tahoma, sans-serif"> (Direct: 3377 </font><span style="font-family:tahoma,sans-serif;font-size:small">8751</span><font face="tahoma, sans-serif">)</font></div><div><font face="tahoma, sans-serif">F: 07) 3377 8833<br><br></font></div><img style="border:0px none;max-width:100%;font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;line-height:18px"><br></div></div></div></div>
</div></div></div></div></div>

<br>
<pre style="font-family:Menlo,Monaco,&#39;Courier New&#39;,monospace;font-size:12px;white-space:pre-wrap;padding:8.5px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;margin-top:0px;margin-bottom:9px;line-height:18px;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902);word-break:break-all;word-wrap:break-word">This email is sent by Auto &amp; General Insurance Company Ltd, Auto &amp; General Services Pty Ltd, Auto &amp; General Holdings Pty Ltd or a related body corporate (Auto &amp; General) and is for the intended addressee.
The views expressed in this email and attachments (email) reflect the views of the stated author but may not reflect views of Auto &amp; General. This email is confidential and subject to copyright. 
It may be privileged. If you are not the intended addressee, confidentiality and privilege have not been waived and any use, interference with, or disclosure of this email is unauthorised. 
If you are not the intended addressee please immediately notify the sender and then delete the email. Auto &amp; General does not warrant that this email is error or virus free.</pre><br>_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>