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.

    nifi author 06 dark
    Go to access policies
    nifi author 06 light
    Go to access policies
  2. Open the list of access policies.

    nifi author 07 dark
    Go to access policy selection
    nifi author 07 light
    Go to access policy selection
  3. Select an access policy from the list and click the access policy assignment icon add.

    nifi author 04 dark
    Available access policies
    nifi author 04 light
    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.

    nifi author 01 dark
    User search
    nifi author 01 light
    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.

    nifi author 09 dark
    List of users for access policy
    nifi author 09 light
    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.

    nifi author 05 dark
    Action palette
    nifi author 05 light
    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.

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

    nifi author 11 dark
    User search
    nifi author 11 light
    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.

    nifi author 12 dark
    List of users for access policy
    nifi author 12 light
    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.

    nifi author 13 dark
    List of users for access policy
    nifi author 13 light
    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

    nifi author 14 dark
    Select required permissions
    nifi author 14 light
    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