Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2609

AUTH not working with 5.2.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 5.2.2
    • None
    • None
    • False
    • None
    • False
    • Hide

      Client 1 

      <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 bind_addr="localhost"
               bind_port="1025"/>
          <PING            />
          <MERGE3         />
          <FD_ALL3        />
          <VERIFY_SUSPECT />
          <pbcast.NAKACK2 />
          <UNICAST3       />
          <pbcast.STABLE  />
          <FRAG           />
          <AUTH auth_class="org.jgroups.auth.FixedMembershipToken"
                auth.fixed_members_value="localhost/1025*localhost/1026"
                auth.fixed_members_seperator="*" />
          <pbcast.GMS     />
      </config> 

       

      Client 2

      <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 bind_addr="localhost"
               bind_port="1026"/>
          <PING            />
          <MERGE3         />
          <FD_ALL3        />
          <VERIFY_SUSPECT />
          <pbcast.NAKACK2 />
          <UNICAST3       />
          <pbcast.STABLE  />
          <FRAG           />
          <AUTH auth_class="org.jgroups.auth.FixedMembershipToken"
                auth.fixed_members_value="localhost/1025*localhost/1026"
                auth.fixed_members_seperator="*" />
          <pbcast.GMS     />
      </config> 

       

       

      Show
      Client 1  <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 bind_addr= "localhost"          bind_port= "1025" />     <PING            />     <MERGE3         />     <FD_ALL3        />     <VERIFY_SUSPECT />     <pbcast.NAKACK2 />     <UNICAST3       />     <pbcast.STABLE  />     <FRAG           />     <AUTH auth_class= "org.jgroups.auth.FixedMembershipToken"           auth.fixed_members_value= "localhost/1025*localhost/1026"           auth.fixed_members_seperator= "*" />     <pbcast.GMS     /> </config>   Client 2 <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 bind_addr= "localhost"          bind_port= "1026" />     <PING            />     <MERGE3         />     <FD_ALL3        />     <VERIFY_SUSPECT />     <pbcast.NAKACK2 />     <UNICAST3       />     <pbcast.STABLE  />     <FRAG           />     <AUTH auth_class= "org.jgroups.auth.FixedMembershipToken"           auth.fixed_members_value= "localhost/1025*localhost/1026"           auth.fixed_members_seperator= "*" />     <pbcast.GMS     /> </config>    

      I switched from 5.1.9 to current maven version 5.2.0. With this version the AUTH Protocoll does not work anymore.

      The used config is under "steps to reproduce" and works fine with version 5.1.9.
      I tries parameters with and without auth. prefix. both variations produces errors.

       

      Exception:

       

      java.lang.IllegalArgumentException: JGRP000001: configuration error: the following properties in AUTH are not recognized: {auth.fixed_members_value=localhost/1025*localhost/1026, auth.fixed_members_seperator=*}
          at org.jgroups.stack.Configurator.initializeAttrs(Configurator.java:218)
          at org.jgroups.stack.Configurator.createProtocolsAndInitializeAttrs(Configurator.java:126)
          at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:65)
          at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)
          at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:434)
          at org.jgroups.JChannel.init(JChannel.java:899)
          at org.jgroups.JChannel.<init>(JChannel.java:123)
          at org.jgroups.JChannel.<init>(JChannel.java:113)
      

       

       

              rhn-engineering-bban Bela Ban
              thmarx Thorsten Marx (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: