<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: User management NiFi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179076#M58470</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;i am trying to secure my nifi-1.1.1 instance using kerberos, i have set up the truststore, keystore in nifi home directory using nifi-tls-toolkit, also set the truststore and keystore passwords in the nifi.properties, provided kerberos-provider as the login-identity-provider. have set up the authorizers.xml with the same CN as i used in certificates. But after restarting nifi, the UI is not coming up, i am getiing "site can't be reached:refuse to connect error" , i also tried importing .p12 cert to my browser but that also didn't helped. could you please suggest what is wrong in the process i followed?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2018 20:22:38 GMT</pubDate>
    <dc:creator>srijitachaturve</dc:creator>
    <dc:date>2018-01-02T20:22:38Z</dc:date>
    <item>
      <title>User management NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179073#M58467</link>
      <description>&lt;P&gt;Hi, I am new with NiFi. I installed version 1.1.2 on a CentOS6 virtual machine for testing purposes.
Installation went fine and I also secured it with certificates/keys etc via de toolkit.&lt;/P&gt;&lt;P&gt;In the authorizers.xml I configured CN=admin as Initial Admin Identity. CN=admin was also used with the toolkit to generate the keys etc. I imported the certifacte in the browser and works fine. As testing purpose I want to assign roles to the admin. I can create a user but same as with the admin I don't know where to add which roles. &lt;/P&gt;&lt;P&gt;In the admin guide on the apache nifi website they talk about connecting an ldap but I don't want that. I just want an admin and 1 or 2 users maybe in the application and assign roles. I see the described roles described in the admin guide but where and how do I configure that?&lt;/P&gt;&lt;P&gt;The users.xml and authorizations.xml where nicely created. In the users.xml I have:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;tenants&amp;gt;
    &amp;lt;groups/&amp;gt;
    &amp;lt;users&amp;gt;
        &amp;lt;user identifier="1a0ab441-da40-30dd-b28c-c4a4c710d03c" identity="cn=admin"/&amp;gt;
    &amp;lt;/users&amp;gt;
&amp;lt;/tenants&amp;gt;&lt;/PRE&gt;&lt;P&gt;But if I add roles under under user admin then nifi service won't start anymore.&lt;/P&gt;&lt;P&gt;&amp;lt;role name="ROLE_ADMIN"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;role name="ROLE_DFM"/&amp;gt;&lt;/P&gt;&lt;P&gt;Hope anyone can help me out :).&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Bram&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:55:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179073#M58467</guid>
      <dc:creator>bram_vd_klinken</dc:creator>
      <dc:date>2017-03-29T17:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: User management NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179074#M58468</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16945/bram-vd-klinkenberg.html" nodeid="16945" target="_blank"&gt;@Bram Klinkenberg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The users.xml and authorizations.xml files are generated for you the first time NiFi is started after being secured.  Initially they are populated using the configuration from the authorizers.xml file. &lt;/P&gt;&lt;P&gt;In that file you specified an "Initial Admin Identity" (assuming you used CN=admin). &lt;/P&gt;&lt;P&gt;As a result a user (CN=admin) was added to the users.xml file and the relevant "admin" related access policies were assigned to that user in the authorizations.xml file.&lt;/P&gt;&lt;P&gt;At this point your user (CN=admin) should be able to access the NiFi UI.&lt;/P&gt;&lt;P&gt;The admin will use the NIFi UI to add additional users and authorize them for various access policies:&lt;/P&gt;&lt;P&gt;Users are managed and Global Policies are applied as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14194-screen-shot-2017-03-29-at-83033-am.png" style="width: 430px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19423i3087C8E8B9720DBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14194-screen-shot-2017-03-29-at-83033-am.png" alt="14194-screen-shot-2017-03-29-at-83033-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Adding "Users" within NiFi has nothing to do with user authentication.  The users you add here are for authorization to NiFi resources only.  User Authentication must occur first and can be accomplished using User issued certs load in browser, Kerberos, or LDAP.&lt;/P&gt;&lt;P&gt;Global access policies include the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14196-screen-shot-2017-03-29-at-83653-am.png" style="width: 601px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19424iCF682409D8773234/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14196-screen-shot-2017-03-29-at-83653-am.png" alt="14196-screen-shot-2017-03-29-at-83653-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Component (Processors, process groups, and other things on canvas) level access policies are assigned to users as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14195-screen-shot-2017-03-29-at-83326-am.png" style="width: 481px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19425i713D4A7F163D0A57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14195-screen-shot-2017-03-29-at-83326-am.png" alt="14195-screen-shot-2017-03-29-at-83326-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Component level access policies include:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14197-screen-shot-2017-03-29-at-83800-am.png" style="width: 778px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19426i5F265DB6E9E4162D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14197-screen-shot-2017-03-29-at-83800-am.png" alt="14197-screen-shot-2017-03-29-at-83800-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Some Component level access policies are on available to specific components.  If the currently selected component does not support the policy it will be greyed out in the list.&lt;/P&gt;&lt;P&gt;More detail on teh various access policies can be found in teh admin guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#config-users-access-policies" target="_blank" rel="nofollow noopener noreferrer"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#config-users-access-policies&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:26:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179074#M58468</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-18T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: User management NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179075#M58469</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16945/bram-vd-klinkenberg.html" nodeid="16945"&gt;@Bram Klinkenberg&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The "Roles" noted above are only valid for us in the older Apache NiFi 0.x baseline.  They were part of the authorized-users.xml file used in that baseline.&lt;/P&gt;&lt;P&gt;The Apache NiFi 1.x baseline added support for multi-tenancy and a granular access control via access policies.  It is an entirely new authorization method and uses different files.  There is no notion of Roles in NiFI 1.x.  The authorizers.xml file allows you to specify a legacy authorized-usesr.xml file in place of configuring an "Initial Admin Identity" simply to make it easy for user of NiFi 0.x to port their existing users over to NiFi 1.x.&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:57:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179075#M58469</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-03-29T19:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: User management NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179076#M58470</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;i am trying to secure my nifi-1.1.1 instance using kerberos, i have set up the truststore, keystore in nifi home directory using nifi-tls-toolkit, also set the truststore and keystore passwords in the nifi.properties, provided kerberos-provider as the login-identity-provider. have set up the authorizers.xml with the same CN as i used in certificates. But after restarting nifi, the UI is not coming up, i am getiing "site can't be reached:refuse to connect error" , i also tried importing .p12 cert to my browser but that also didn't helped. could you please suggest what is wrong in the process i followed?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 20:22:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-management-NiFi/m-p/179076#M58470</guid>
      <dc:creator>srijitachaturve</dc:creator>
      <dc:date>2018-01-02T20:22:38Z</dc:date>
    </item>
  </channel>
</rss>

