Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
This text has an error in it:
It is only necessary to manually add one user, the ADMIN user, to this file. So, at a minimum, the following example entry should be included and contain the user Distinguished Name (DN) in place of "user dn - read only and admin":
<users>
<user dn="[user dn - read only and admin]">
<role name="ROLE_ADMIN"/>
</user>
</users>
Here is an example entry using the name John Smith:
<users>
<user dn="[cn=John Smith,ou=people,dc=example,dc=com]">
<role name="ROLE_ADMIN"/>
</user>
</users>
************************************************************************************
The error is the brackets. To get the secure NiFi set up with role-based access, the DN needs to be set withOUT the square brackets. So, here's the correct syntax and example:
<user dn="cn=John Smith,ou=people,dc=example,dc=com">