<?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: Trouble adding custom LoginModule to consumeKafkaRecord_2_6 Apache Nifi Flow in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329714#M230496</link>
    <description>&lt;P&gt;After adding the jar to the consumeKafkaRecord NAR and bouncing the servers, I am no longer receiving the error. Now I am able to authenticate to Kafka using the GSSAPI SASL mechanism.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 13:09:18 GMT</pubDate>
    <dc:creator>mr_jahurley</dc:creator>
    <dc:date>2021-11-05T13:09:18Z</dc:date>
    <item>
      <title>Trouble adding custom LoginModule to consumeKafkaRecord_2_6 Apache Nifi Flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329582#M230481</link>
      <description>&lt;P&gt;I am using the&amp;nbsp;ConsumeKafkaRecord_2_6 processor to consume from kafka. I am trying to use a custom LoginModule. I have both a custom LoginModule and a custom CallbackHandler. I put my two classes in a jar then loaded the jar on the Nifi system. When the processor starts, I get this error:&amp;nbsp;&lt;BR /&gt;&lt;SPAN class="t"&gt;Caused&lt;/SPAN&gt; &lt;SPAN class="t"&gt;by:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;javax.security.auth.login.LoginException:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;unable&lt;/SPAN&gt; &lt;SPAN class="t"&gt;to&lt;/SPAN&gt; &lt;SPAN class="t"&gt;find&lt;/SPAN&gt; &lt;SPAN class="t"&gt;LoginModule&lt;/SPAN&gt; &lt;SPAN class="t"&gt;class:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;com.eek.my.auth.krb.SauKrbLoginModuleWrapper. I am not sure how to add the jar so that the processor will find my classes. The dynamic property I am adding to reference the custom class is&amp;nbsp;&lt;SPAN class="table-cell"&gt;sasl.jaas.config. So the value of that looks like this:&amp;nbsp;sasl.jaas.config=com.eek.my.auth.krb.SauKrbLoginModuleWrapper&amp;nbsp;required krbProvider=com.sun.security.auth.module.Krb5LoginModule;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 12:46:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329582#M230481</guid>
      <dc:creator>mr_jahurley</dc:creator>
      <dc:date>2021-11-04T12:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble adding custom LoginModule to consumeKafkaRecord_2_6 Apache Nifi Flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329660#M230488</link>
      <description>&lt;P&gt;I am requesting now the nar for the ConsumeKafkaRecord be updated to include my new jar. Not sure if that is the only way for the processor to pick it up.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 14:43:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329660#M230488</guid>
      <dc:creator>mr_jahurley</dc:creator>
      <dc:date>2021-11-04T14:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble adding custom LoginModule to consumeKafkaRecord_2_6 Apache Nifi Flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329714#M230496</link>
      <description>&lt;P&gt;After adding the jar to the consumeKafkaRecord NAR and bouncing the servers, I am no longer receiving the error. Now I am able to authenticate to Kafka using the GSSAPI SASL mechanism.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 13:09:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trouble-adding-custom-LoginModule-to-consumeKafkaRecord-2-6/m-p/329714#M230496</guid>
      <dc:creator>mr_jahurley</dc:creator>
      <dc:date>2021-11-05T13:09:18Z</dc:date>
    </item>
  </channel>
</rss>

