Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10562

RolesCache should not be created for any authenticator that does not requireAuthentication

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      The RolesCache.initCache method currently checks the authenticator as follows:

              if (DatabaseDescriptor.getAuthenticator() instanceof AllowAllAuthenticator)
                  return null;
      

      This does not allow for any 3rd party authenticators that don't require authentication. It should check the requireAuthentication method on the authenticator to see if it should continue.

        Attachments

        1. 10562.txt
          1 kB
          Mike Adamson

          Issue Links

            Activity

              People

              • Assignee:
                mike_tr_adamson Mike Adamson
                Reporter:
                mike_tr_adamson Mike Adamson
                Authors:
                Mike Adamson
                Reviewers:
                Robert Stupp
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: