<?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 Error creating bean with name 'authorizer' in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374911#M242192</link>
    <description>&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Day! When I change the old password of "&amp;lt;property name="Manager Password"&amp;gt;NewPassword&amp;lt;/property&amp;gt;" in authorizer.xml to new password for our maintenance.&lt;/P&gt;&lt;P&gt;I stop nifi services and I change password in authorizers.xml and login-identity-providers.xml after I change I start the nifi services but I encountered the error below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'niFiWebApiConfiguration': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration': Unsatisfied dependency expressed through method 'setObjectPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.AuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is java.lang.Exception: Unable to load the authorizer configuration file at: /aji/nifi/nifi-1.16.2/./conf/authorizers.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can help me to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 22:03:08 GMT</pubDate>
    <dc:creator>ajignacio</dc:creator>
    <dc:date>2023-08-03T22:03:08Z</dc:date>
    <item>
      <title>Error creating bean with name 'authorizer'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374911#M242192</link>
      <description>&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Day! When I change the old password of "&amp;lt;property name="Manager Password"&amp;gt;NewPassword&amp;lt;/property&amp;gt;" in authorizer.xml to new password for our maintenance.&lt;/P&gt;&lt;P&gt;I stop nifi services and I change password in authorizers.xml and login-identity-providers.xml after I change I start the nifi services but I encountered the error below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'niFiWebApiConfiguration': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration': Unsatisfied dependency expressed through method 'setObjectPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.AuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is java.lang.Exception: Unable to load the authorizer configuration file at: /aji/nifi/nifi-1.16.2/./conf/authorizers.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can help me to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 22:03:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374911#M242192</guid>
      <dc:creator>ajignacio</dc:creator>
      <dc:date>2023-08-03T22:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating bean with name 'authorizer'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374964#M242207</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82000"&gt;@ajignacio&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;NiFi is complaining that it can not load the authorizers.xml file.&lt;BR /&gt;&lt;BR /&gt;Are you using any XML special characters in your new manager password?&lt;BR /&gt;If so, have you tried escaping them as follows:&lt;/P&gt;&lt;TABLE border="1" cellspacing="0" cellpadding="4"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;XML Character:&lt;/TD&gt;&lt;TD&gt;Replace in XML with:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="117.625px" height="30px"&gt;Less than (&amp;lt;)&lt;/TD&gt;&lt;TD width="154.719px" height="30px"&gt;&amp;amp;lt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="117.625px" height="30px"&gt;Greater than (&amp;gt;)&lt;/TD&gt;&lt;TD width="154.719px" height="30px"&gt;&amp;amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="117.625px" height="30px"&gt;Double quote (")&lt;/TD&gt;&lt;TD width="154.719px" height="30px"&gt;&amp;amp;quot;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="117.625px" height="30px"&gt;Apostrophe (ˋ)&lt;/TD&gt;&lt;TD width="154.719px" height="30px"&gt;&amp;amp;apos;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="117.625px" height="30px"&gt;Ampersand (&amp;amp;)&lt;/TD&gt;&lt;TD width="154.719px" height="30px"&gt;&amp;amp;amp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, it would be difficult for me to point out the issue with out the full stack trace output in the nifi-app.log and a copy of your authorizer.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Fri, 04 Aug 2023 19:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374964#M242207</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-08-04T19:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating bean with name 'authorizer'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374990#M242230</link>
      <description>&lt;P&gt;Thanks MattWho,&lt;BR /&gt;&lt;BR /&gt;Yeah We figure out that the causing of issue the special character.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you Very Much&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 11:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-authorizer/m-p/374990#M242230</guid>
      <dc:creator>ajignacio</dc:creator>
      <dc:date>2023-08-07T11:01:36Z</dc:date>
    </item>
  </channel>
</rss>

