I am trying to prepare a secure Infinispan cluster using SimpleToken as described in here JGroup . Although I provided the required configuration, new nodes are able to join the cluster even if they have different 'auth_value' value.
Here is my configuration for the first node:
<config xmlns="urn:org:jgroups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.6.xsd">
....
....
<AUTH auth_class="org.jgroups.auth.SimpleToken" auth_value="cluster1"/>
</config>
for the second node, I am using the same configuration with different auth_value:
<AUTH auth_class="org.jgroups.auth.SimpleToken" auth_value="cluster2"/>