【发布时间】:2018-09-27 08:39:42
【问题描述】:
我正在尝试使用 SimpleToken 准备一个安全的 Infinispan 集群,如JGroup 中所述。虽然我提供了所需的配置,但新节点即使具有不同的 'auth_value' 值也能够加入集群。
这是我对第一个节点的配置:
<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>
对于第二个节点,我使用相同的配置,但 auth_value 不同:
<AUTH auth_class="org.jgroups.auth.SimpleToken" auth_value="cluster2"/>
【问题讨论】:
标签: authentication cluster-computing infinispan jgroups