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/12/12 16:23:46 UTC

[jira] [Created] (CASSANDRA-10852) Add requireAuthorization method to IAuthorizer

Mike Adamson created CASSANDRA-10852:
----------------------------------------

             Summary: Add requireAuthorization method to IAuthorizer
                 Key: CASSANDRA-10852
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10852
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Mike Adamson
            Assignee: Mike Adamson
            Priority: Minor
             Fix For: 3.2


The {{IAuthenticator}} interface has a {{requireAuthentication}} to indicate whether an implementation requires an explicit login. For consistency it would be useful for 3rd party implementers if the {{IAuthorizer}} had a similar method {{requireAuthorization}} that would indicate if the implementation required explicit authorization.

This would mean that we could remove and explicit {{instanceof}} checks for {{AllowAllAuthenticator}} and {{AllowAllAuthorizer}} in the code.



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