[
https://issues.apache.org/jira/browse/NIFI-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15313120#comment-15313120
]
ASF GitHub Bot commented on NIFI-1916:
--------------------------------------
Github user bbende commented on the issue:
https://github.com/apache/nifi/pull/473
@mcgilman updated the PR to address the thread-safety, a summary of the
changes...
- Created a single data structure to encapsulate all data structures used
by the FileAuthorizer so there can be a single AtomicReference
- Added synchronization to add, update, delete methods to ensure only one
thread can modify the internal Authorizations reference
- Included changes to expose the root group id to the authorizer which will
be needed to auto-convert old users files
- Brought back the old users.xsd and generation of the jaxb object to prep
for auto-converting old users files
> Make File Based Authorizer implement new User, Group, Policy API
> ----------------------------------------------------------------
>
> Key: NIFI-1916
> URL: https://issues.apache.org/jira/browse/NIFI-1916
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core Framework
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Fix For: 1.0.0
>
>
> This ticket is a sub-task of NIFI-1550 which is the larger effort to refactor
> NiFi's authorization API.
> This ticket specifically is to update the FileAuthorizer introduced on
> master, to now extend from AbstractPolicyBasedAuthorizer and implement all of
> the CRUD operations for Users, Groups, and Policies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)