Mike Adamson created CASSANDRA-10562:
----------------------------------------

             Summary: RolesCache should not be created for any authenticator 
that does not requireAuthentication
                 Key: CASSANDRA-10562
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10562
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Mike Adamson
             Fix For: 3.0.0


The {{RolesCache.initCache}} method currently checks the authenticator as 
follows:
{noformat}
        if (DatabaseDescriptor.getAuthenticator() instanceof 
AllowAllAuthenticator)
            return null;
{noformat}
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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to