You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mike Adamson (JIRA)" <ji...@apache.org> on 2015/10/21 18:43:27 UTC
[jira] [Updated] (CASSANDRA-10562) RolesCache should not be created
for any authenticator that does not requireAuthentication
[ https://issues.apache.org/jira/browse/CASSANDRA-10562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Adamson updated CASSANDRA-10562:
-------------------------------------
Attachment: 10562.txt
> 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
> Assignee: Mike Adamson
> Fix For: 3.0.0
>
> Attachments: 10562.txt
>
>
> 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)