[ 
https://issues.apache.org/jira/browse/NIFI-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15292262#comment-15292262
 ] 

ASF GitHub Bot commented on NIFI-1884:
--------------------------------------

Github user mcgilman commented on the pull request:

    https://github.com/apache/nifi/pull/452#issuecomment-220469545
  
    @alopresto Great comment about the UserService. The reason we cannot do 
that directly is the extension point that is getting discovered is an 
Authorizer. However, this did make me think of possibly changing the 
MutableAuthorizer into an abstract class which implements (and marks final) the 
authorize() method. Then the MutableAuthorizer would simply handle 
User/Group/Policy persistence. Maybe the name changes too... something like 
AbstractPolicyBasedAuthorizer. The NiFi internal implementation would look like
    
    `class FileAuthorizer extends AbstractPolicyBasedAuthorizer`
    
    We'll hash out some of the details and update the PR accordingly. May be a 
good place to handle duplicate detection and whatnot.


> Add User & Group API
> --------------------
>
>                 Key: NIFI-1884
>                 URL: https://issues.apache.org/jira/browse/NIFI-1884
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core Framework
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Define the API for  managing users, groups, and policies.
> This is to advance the work described in this feature proposal:
>  https://cwiki.apache.org/confluence/display/NIFI/Support+Authorizer+API
> The parent JIRA for all authorization work is NIFI-1550.



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

Reply via email to