If you use NiFi built-in file-based policy and user handling, then you have to
migrate the content of the users.xml and
authorizations.xml files. This should be done after LDAP
migration, if NiFi used LDAP.
-
Copy the user or group entries from
/var/lib/nifi/conf/users.xml and add the entries into
/var/lib/users.xml for every NiFi instance.
-
Copy the policy entries from
/var/lib/nifi/conf/authorizations.xml and add the
entries into /var/lib/authorizations.xml for every NiFi
instance.
If you have only a few user entries and policy configurations, it is quicker
to re-apply them through the NiFi UI, instead of synchronizing the old and
the new users and authorization XML files.