All Downloads are FREE. Search and download functionalities are using the official Maven repository.

groups.4.2.30.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_SOCK/>
    <FD_ALL/>
    <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"
          match_string="(192\.168|10\.5)\.\d{1,3}\.\d{1,3}(:\d{1,5})?"
          match_ip_address="true"
          match_logical_name="false"  />
    <pbcast.GMS/>
    <UFC/>
    <MFC/>
    <FRAG2/>
    <pbcast.STATE_TRANSFER  />
</config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy