Authorization in the NiFi user interface

Authorization in the NiFi service using interface tools is carried out after authentication of a user who has an account in Active Directory.

It is possible to assign access policies to Active Directory users located in the User Search Base specified in the parameter configuration step of the NiFi service.

NOTE

All sensitive values ​​for the NiFi Server and NiFi Registry components are replaced with encrypted values ​​in the configuration files. For more information about data encryption, see the article Encryption of NiFi configuration parameters.

NiFi Server

Configure access policies via the global NiFi menu

To assign an access policy via the NiFi Server interface global menu, do the following:

  1. Go to the Policies page in the global menu.

    Go to access policies
    Go to access policies
    Go to access policies
    Go to access policies
  2. Open the list of access policies.

    Go to access policy selection
    Go to access policy selection
    Go to access policy selection
    Go to access policy selection
  3. Select an access policy from the list and click the access policy assignment icon add.

    Available access policies
    Available access policies
    Available access policies
    Available access policies
    NOTE

    For detailed information about access policies in the NiFi Server interface, please refer to Access Policies NiFi.

  4. Find a user or a group to assign the policy using User Indentity string.

    User search
    User search
    User search
    User search
  5. Select a user and click ADD.

    As a result, a new user or a group appears in the list of the selected access policy.

    List of users for access policy
    List of users for access policy
    List of users for access policy
    List of users for access policy

Configure access policies at the processor level

After configuring authentication, the key icon appears on the Action palette, with which access policies are assigned at the level of the selected processor or groups. To assign policies, do the following:

  1. Select the desired processor or a group and highlight it. Then the name of the selected processor appears on the palette of operations.

    Action palette
    Action palette
    Action palette
    Action palette
  2. Click on the key icon. In the window that opens, select an access policy from the list and click on the access policy assignment icon add.

    Processor-level access policies
    Processor-level access policies
    Processor-level access policies
    Processor-level access policies
  3. Find a user or a group to assign the policy using User Indentity string.

    User search
    User search
    User search
    User search
  4. Select a user and click ADD.

    As a result, a new user or a group appears in the list of the selected access policy.

    List of users for access policy
    List of users for access policy
    List of users for access policy
    List of users for access policy

Deleting a user from the access policy is done via the icon delete.

To check the created policy, log in as the user for whom the policy was assigned.

NiFi Registry

To assign an access policy in NiFi Registry interface you need to:

  1. Click on the settings icon nifi reg ui 03 2 dark nifi reg ui 03 2 light and go to the USERS tab.

    List of users for access policy
    List of users for access policy
    List of users for access policy
    List of users for access policy
  2. Select a user or a group and click on the edit access policy icon manage.

  3. Select the required permissions and click CLOSE

    Select required permissions
    Select required permissions
    Select required permissions
    Select required permissions
NOTE

For detailed information about access policies in the NiFi Registry interface, refer to the article Access Policies NiFi Registry.

To check the created policy, log in as the user for whom the policy was assigned.

Found a mistake? Seleсt text and press Ctrl+Enter to report it