<?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: Duas fontes de autenticação do Nifi funcionando ao mesmo tempo in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370737#M240810</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104996"&gt;@orodriguesrenan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Have you resolved your issue? If so please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 12:25:14 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2023-05-15T12:25:14Z</dc:date>
    <item>
      <title>Duas fontes de autenticação do Nifi funcionando ao mesmo tempo</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370352#M240722</link>
      <description>&lt;P&gt;Existe alguma forma de deixar dois tipos de autenticação no Nifi funcionando ao mesmo tempo? Exemplo: SAML + Autenticação Local (próprio nifi).&lt;/P&gt;&lt;P&gt;Ou ele só permite o uso de uma única fonte de autenticação configurada por vez?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 13:44:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370352#M240722</guid>
      <dc:creator>orodriguesrenan</dc:creator>
      <dc:date>2023-05-09T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duas fontes de autenticação do Nifi funcionando ao mesmo tempo</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370379#M240726</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104996"&gt;@orodriguesrenan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "Single-User-Provider" and corresponding "Single-user-authorizer" were only developed and intended to be used when initially experimenting with NiFi. It was developed so that NiFi out of the box startup would be secured to help end-user avoid unsecured access to their NiFi.&amp;nbsp; &amp;nbsp;Prior to the introduction of these default authentication provider and Authorizer. NiFi out of the box startup would be unsecured HTTP.&amp;nbsp; It was never the intent to use the single-user in production and it does not support configuring additional local user nor does the single-user-authorizer allow you to create/set unique authorization policies for other users.&lt;BR /&gt;&lt;BR /&gt;For a multi-user environment you want to stop using the single-user-provider and single-user-authorizer and switch to authentication methods that support multiple users and an authorizer that supports configuring authorization policies.&lt;BR /&gt;&lt;BR /&gt;NiFi does support multiple method of user authentication (Single-user-provider not included)&lt;BR /&gt;When you secure your NiFi so it is accessible only over an HTTPS connection, your NiFi must have a keystore and truststore.&amp;nbsp; With only HTTPS enabled, the only user authentication support would be via a mutual TLS exchange with a user issues certificate that can be trusted by the NiFi truststore. TLS based user/client auth is ALWAYS enabled.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can then configure additional methods of multi-tenant authentication. For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#ldap_login_identity_provider" target="_self"&gt;LDAP&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#kerberos_login_identity_provider" target="_self"&gt;Kerberos&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#openid_connect" target="_self"&gt;openid_connect&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#saml" target="_self"&gt;saml&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Since out of the box default is configured to use:&lt;/P&gt;&lt;PRE&gt;nifi.security.user.login.identity.provider=single-user-provider&lt;/PRE&gt;&lt;P&gt;You'll need to clear this property to use SAML or set it to another "login" based provider like ldap or kerberos.&lt;BR /&gt;&lt;BR /&gt;Then you need to change your authorizers.xml from the default "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;single-user-authorizer" to an authorizer that supports &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#multi-tenant-authorization" target="_self"&gt;mutli-tenant&lt;/A&gt; based authorization:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#standardmanagedauthorizer" target="_self"&gt;standardmanagedauthorizer&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Example authorizers.xml&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1683650596190.png" style="width: 569px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37550iBA9DEFC99E5C9CE3/image-dimensions/569x361?v=v2" width="569" height="361" role="button" title="MattWho_0-1683650596190.png" alt="MattWho_0-1683650596190.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here you would change the "Initial User Identity 1" and "Initial Admin Identity" to the SAML account user you want to act as the initial admin.&amp;nbsp; The admin user would then be able to add authorization via the NiFi UI to allow other SAML users authorized access to the NiFI UI and control what those user are authorized once they are allowed in.&lt;BR /&gt;&lt;BR /&gt;In the nifi.properties file you would need to tell NiFi to use this "managed-authorizer"&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;nifi.security.user.authorizer=managed-authorizer&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;It would be by default set to the "single-user-authorizer".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 16:51:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370379#M240726</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-05-09T16:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Duas fontes de autenticação do Nifi funcionando ao mesmo tempo</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370737#M240810</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104996"&gt;@orodriguesrenan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Have you resolved your issue? If so please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 12:25:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Duas-fontes-de-autentica%C3%A7%C3%A3o-do-Nifi-funcionando-ao-mesmo/m-p/370737#M240810</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-05-15T12:25:14Z</dc:date>
    </item>
  </channel>
</rss>

