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

Use of AUTH does not result in a SecurityException if another client does not use AUTH

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.5
    • 4.0.4
    • None
    • Hide

      Run the attached program. Output is something like

      V1 [emma-1307|0] (1) [emma-1307]
      V2 [emma-20470|0] (1) [emma-20470]
      

      Expected is a connect() throwing a SecurityException.

      Show
      Run the attached program. Output is something like V1 [emma-1307|0] (1) [emma-1307] V2 [emma-20470|0] (1) [emma-20470] Expected is a connect() throwing a SecurityException.

      If there are two members in a cluster, one with AUTH configured and started first, so it can become the coordinator and a second without AUTH, the documentation implies that the second should receive a SecurityException. Instead, it creates it's own cluster. This works as expected if the second member uses AUTH, but has a different SecurityToken.

        1. JGroupsAuthExample.java
          2 kB
          Bela Ban
        2. JGroupsAuthExample.java
          2 kB
          Mirko Streckenbach

              rhn-engineering-bban Bela Ban
              pms11 Mirko Streckenbach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: