groups.5.3.11.Final.source-code.auth_regex.xml Maven / Gradle / Ivy
<!-- Fast configuration for local mode, ie. all members reside on the same host. Setting ip_ttl to 0 means that no multicast packet will make it outside the local host. Therefore, this configuration will NOT work to cluster members residing on different hosts ! Author: Bela Ban --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:org:jgroups" xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd" > <UDP/> <PING/> <MERGE3/> <FD_SOCK2/> <FD_ALL3 /> <VERIFY_SUSPECT/> <BARRIER /> <pbcast.NAKACK2/> <UNICAST3/> <pbcast.STABLE/> <!-- Allow only hosts in the 192.168 or 10.5 network to join --> <AUTH auth_class="org.jgroups.auth.RegexMembership" auth_token.match_string="(192\.168|10\.5)\.\d{1,3}\.\d{1,3}(:\d{1,5})?" auth_token.match_ip_address="true" auth_token.match_logical_name="false" /> <pbcast.GMS/> <UFC/> <MFC/> <FRAG2/> <pbcast.STATE_TRANSFER /> </config>