[
https://issues.apache.org/jira/browse/NIFI-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18064580#comment-18064580
]
ASF subversion and git services commented on NIFI-15693:
--------------------------------------------------------
Commit 066863c940392e5e75096426c944a4db2a161a0f in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=066863c9403 ]
NIFI-15693 Fixed Flow Synchronization with empty File User Groups
- Fixed forcible inheritance of users and groups from fingerprints in
FileUserGroupProvider by creating new mutable Lists when adding users and groups
This closes #10992.
Signed-off-by: Pierre Villard <[email protected]>
> Flow Synchronization Fails with empty File User Groups
> ------------------------------------------------------
>
> Key: NIFI-15693
> URL: https://issues.apache.org/jira/browse/NIFI-15693
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework, Security
> Affects Versions: 2.7.0, 2.8.0, 2.7.1, 2.7.2
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Following recent refactoring of the {{FileUserGroupProvider}} to use DOM
> instead of JAXB for parsing XML files, flow synchronization between cluster
> nodes can fail when the users.xml configuration is empty.
> On initial load, the AuthorizedUserGroups record object contains empty
> immutable Lists of users and groups when the local users.xml configuration is
> empty. The synchronization process calls {{forciblyInheritFingerprint}} on
> {{FileUserGroupProvider}} which can result in a
> {{FlowSynchronizationException}} caused by an
> {{UnsupportedOperationException}} on the empty immutable Lists in memory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)