<?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: Nifi error when integrating authen with ldap in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412204#M253313</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;I want to ask one more question. I applied above config for my cluster 3 node.&amp;nbsp;and can't log in due to untrust proxy error.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2025-08-29 10:38:45,421 INFO [NiFi Web Server-33] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.29.144.58 [&amp;lt;cn=nifi,ou=users,dc=baoviet,dc=local&amp;gt;&amp;lt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;gt;] GET https://10.29.144.56:8443/nifi-api/flow/current-user
2025-08-29 10:38:45,422 WARN [NiFi Web Server-33] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed 10.29.144.58 GET https://10.29.144.56:8443/nifi-api/flow/current-user [Untrusted proxy CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN]&lt;/LI-CODE&gt;&lt;P&gt;I added&amp;nbsp;&amp;lt;property name="Node Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;lt;/property&amp;gt; to authorizes.xml and delete file user.xml and authorization.xml. When restart nifi, I got the error:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:206)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:133)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1896)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1316)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:349)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1745)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1628)
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:888)
        ... 75 common frames omitted
Caused by: org.apache.nifi.authorization.exception.AuthorizerCreationException: org.apache.nifi.authorization.exception.AuthorizerCreationException: Unable to locate node CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN to seed policies.
        at org.apache.nifi.authorization.FileAccessPolicyProvider.onConfigured(FileAccessPolicyProvider.java:254)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.nifi.authorization.AccessPolicyProviderInvocationHandler.invoke(AccessPolicyProviderInvocationHandler.java:54)
        at jdk.proxy3/jdk.proxy3.$Proxy62.onConfigured(Unknown Source)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.loadProviderProperties(AuthorizerFactoryBean.java:189)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:159)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:63)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:200)
        ... 84 common frames omitted&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 29 Aug 2025 03:57:34 GMT</pubDate>
    <dc:creator>yoonli</dc:creator>
    <dc:date>2025-08-29T03:57:34Z</dc:date>
    <item>
      <title>Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412177#M253292</link>
      <description>&lt;LI-CODE lang="markup"&gt;&amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 1"&amp;gt;nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Group Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;/userGroupProvider&amp;gt;
&amp;lt;accessPolicyProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Group"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;/accessPolicyProvider&amp;gt;
 &amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;
 &amp;lt;/authorizer&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;As the title says, I'm getting an unexpected error when logging into nifi with the same ldap account even though I configured that account as admin in the authorizers.xml file. Bellow this my setting:&lt;/P&gt;&lt;P&gt;nifi.properties&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.security.user.authorizer=managed-authorizer
nifi.security.user.login.identity.provider=ldap-provider&lt;/LI-CODE&gt;&lt;P&gt;login-identity-providers.xml&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;provider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.ldap.LdapProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authentication Strategy"&amp;gt;SIMPLE&amp;lt;/property&amp;gt;

        &amp;lt;property name="Manager DN"&amp;gt;cn=admin,dc=nifi,dc=com&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;adminpassword&amp;lt;/property&amp;gt;

        &amp;lt;property name="TLS - Keystore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Client Auth"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Protocol"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
        &amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
        &amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;

        &amp;lt;property name="Url"&amp;gt;ldap://10.29.144.58:389&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Base"&amp;gt;ou=users,dc=nifi,dc=local&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;(uid={0})&amp;lt;/property&amp;gt;

        &amp;lt;property name="Identity Strategy"&amp;gt;USE_USERNAME&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authentication Expiration"&amp;gt;12 hours&amp;lt;/property&amp;gt;
    &amp;lt;/provider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;authorizers.xml&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.ldap.tenants.LdapUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authentication Strategy"&amp;gt;SIMPLE&amp;lt;/property&amp;gt;

        &amp;lt;property name="Manager DN"&amp;gt;cn=admin,dc=nifi,dc=local&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;adminpassword&amp;lt;/property&amp;gt;

        &amp;lt;property name="TLS - Keystore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Client Auth"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Protocol"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
        &amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
        &amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;

        &amp;lt;property name="Url"&amp;gt;ldap://10.29.144.58:389&amp;lt;/property&amp;gt;
        &amp;lt;property name="Page Size"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Sync Interval"&amp;gt;30 mins&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Membership - Enforce Case Sensitivity"&amp;gt;false&amp;lt;/property&amp;gt;

        &amp;lt;property name="User Search Base"&amp;gt;ou=users,dc=nifi,dc=local&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Object Class"&amp;gt;inetOrgPerson&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;(uid={0})&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Identity Attribute"&amp;gt;uid&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute - Referenced Group Attribute"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Group Search Base"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Object Class"&amp;gt;group&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Filter"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute - Referenced User Attribute"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;/userGroupProvider&amp;gt;
&amp;lt;accessPolicyProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider"&amp;gt;ldap-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Group"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;/accessPolicyProvider&amp;gt;
 &amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;
 &amp;lt;/authorizer&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Error in nifi-app.log&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;BR /&gt;2025-08-26 10:50:30,548 INFO [main] o.a.nifi.controller.StandardFlowService Setting Flow Controller's Node ID: 10.29.144.58:8443&lt;BR /&gt;2025-08-26 10:50:30,551 INFO [main] org.apache.nifi.nar.StandardNarManager Synchronizing NARs with cluster coordinator&lt;BR /&gt;2025-08-26 10:50:30,793 ERROR [main] org.apache.nifi.nar.StandardNarManager Failed to synchronize NARs from cluster coordinator [10.29.144.56] no local NARs found&lt;BR /&gt;java.lang.IllegalStateException: Error calling &lt;A href="https://10.29.144.56:8443/nifi-api/controller/nar-manager/nars" target="_blank" rel="noopener"&gt;https://10.29.144.56:8443/nifi-api/controller/nar-manager/nars&lt;/A&gt; - 403 - Unable to view the controller. Contact the system administrator.&lt;BR /&gt;at org.apache.nifi.client.NiFiRestApiClient.getResponseBody(NiFiRestApiClient.java:111)&lt;BR /&gt;at org.apache.nifi.client.NiFiRestApiClient.executeEntityRequest(NiFiRestApiClient.java:81)&lt;BR /&gt;at org.apache.nifi.nar.NarRestApiClient.listNarSummaries(NarRestApiClient.java:70)&lt;BR /&gt;at org.apache.nifi.nar.StandardNarManager.listNarSummaries(StandardNarManager.java:329)&lt;BR /&gt;at org.apache.nifi.nar.StandardNarManager.getNarSummariesFromCoordinator(StandardNarManager.java:317)&lt;BR /&gt;at org.apache.nifi.nar.StandardNarManager.syncWithClusterCoordinator(StandardNarManager.java:267)&lt;BR /&gt;at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:909)&lt;BR /&gt;at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:465)&lt;BR /&gt;at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:855)&lt;BR /&gt;at org.apache.nifi.runtime.Application.startServer(Application.java:131)&lt;BR /&gt;at org.apache.nifi.runtime.Application.run(Application.java:78)&lt;BR /&gt;at org.apache.nifi.runtime.Application.run(Application.java:60)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:42)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;nifi-user.log&lt;/P&gt;&lt;LI-SPOILER&gt;2025-08-26 16:53:20,896 ERROR [NiFi Web Server-32] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.io.UncheckedIOException: Read Current User Entity failed. Returning Internal Server Error response.&lt;BR /&gt;java.io.UncheckedIOException: Read Current User Entity failed&lt;BR /&gt;at org.apache.nifi.web.api.FlowResource.readReplicatedCurrentUserEntity(FlowResource.java:446)&lt;BR /&gt;at org.apache.nifi.web.api.FlowResource.getCurrentUser(FlowResource.java:421)&lt;BR /&gt;at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)&lt;BR /&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:580)&lt;BR /&gt;at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)&lt;BR /&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)&lt;BR /&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)&lt;BR /&gt;at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)&lt;BR /&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)&lt;BR /&gt;at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)&lt;BR /&gt;at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)&lt;BR /&gt;at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)&lt;BR /&gt;at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:274)&lt;BR /&gt;at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)&lt;BR /&gt;at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)&lt;BR /&gt;at org.glassfish.jersey.internal.Errors.process(Errors.java:292)&lt;BR /&gt;at org.glassfish.jersey.internal.Errors.process(Errors.java:274)&lt;BR /&gt;at org.glassfish.jersey.internal.Errors.process(Errors.java:244)&lt;BR /&gt;at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:266)&lt;BR /&gt;at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:253)&lt;BR /&gt;at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:696)&lt;BR /&gt;at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:397)&lt;BR /&gt;at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:349)&lt;BR /&gt;at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)&lt;BR /&gt;at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:312)&lt;BR /&gt;at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1379)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHolder.handle(ServletHolder.java:736)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1622)&lt;BR /&gt;at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365)&lt;BR /&gt;at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:101)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:125)&lt;BR /&gt;at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.apache.nifi.web.security.log.AuthenticationUserFilter.doFilterInternal(AuthenticationUserFilter.java:57)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.apache.nifi.web.security.NiFiAuthenticationFilter.doFilter(NiFiAuthenticationFilter.java:60)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:158)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.apache.nifi.web.security.NiFiAuthenticationFilter.authenticate(NiFiAuthenticationFilter.java:96)&lt;BR /&gt;at org.apache.nifi.web.security.NiFiAuthenticationFilter.doFilter(NiFiAuthenticationFilter.java:58)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.apache.nifi.web.security.csrf.CsrfCookieFilter.doFilterInternal(CsrfCookieFilter.java:43)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.apache.nifi.web.security.csrf.SkipReplicatedCsrfFilter.doFilterInternal(SkipReplicatedCsrfFilter.java:59)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191)&lt;BR /&gt;at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)&lt;BR /&gt;at org.springframework.web.filter.ServletRequestPathFilter.doFilter(ServletRequestPathFilter.java:52)&lt;BR /&gt;at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)&lt;BR /&gt;at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74)&lt;BR /&gt;at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebSecurityConfiguration.java:319)&lt;BR /&gt;at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:362)&lt;BR /&gt;at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:278)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:205)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)&lt;BR /&gt;at org.apache.nifi.web.filter.ExceptionFilter.doFilter(ExceptionFilter.java:44)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:208)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlets.DoSFilter.doFilterChain(DoSFilter.java:462)&lt;BR /&gt;at org.apache.nifi.web.server.filter.DataTransferExcludedDoSFilter.doFilterChain(DataTransferExcludedDoSFilter.java:51)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlets.DoSFilter.doFilter(DoSFilter.java:317)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlets.DoSFilter.doFilter(DoSFilter.java:282)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:205)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)&lt;BR /&gt;at org.apache.nifi.web.server.log.RequestAuthenticationFilter.doFilterInternal(RequestAuthenticationFilter.java:59)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.FilterHolder.doFilter(FilterHolder.java:205)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler$MappedServlet.handle(ServletHandler.java:1555)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletChannel.dispatch(ServletChannel.java:823)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletChannel.handle(ServletChannel.java:440)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.ServletHandler.handle(ServletHandler.java:470)&lt;BR /&gt;at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)&lt;BR /&gt;at org.eclipse.jetty.ee10.servlet.SessionHandler.handle(SessionHandler.java:717)&lt;BR /&gt;at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1071)&lt;BR /&gt;at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:181)&lt;BR /&gt;at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:151)&lt;BR /&gt;at org.eclipse.jetty.server.Handler$Sequence.handle(Handler.java:805)&lt;BR /&gt;at org.eclipse.jetty.server.Server.handle(Server.java:182)&lt;BR /&gt;at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:678)&lt;BR /&gt;at org.eclipse.jetty.util.thread.Invocable$ReadyTask.run(Invocable.java:177)&lt;BR /&gt;at org.eclipse.jetty.http2.server.internal.HttpStreamOverHTTP2$1.run(HttpStreamOverHTTP2.java:136)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:480)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:443)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:195)&lt;BR /&gt;at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:210)&lt;BR /&gt;at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:157)&lt;BR /&gt;at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:462)&lt;BR /&gt;at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)&lt;BR /&gt;at org.eclipse.jetty.io.ssl.SslConnection$SslEndPoint.onFillable(SslConnection.java:612)&lt;BR /&gt;at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:413)&lt;BR /&gt;at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:155)&lt;BR /&gt;at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)&lt;BR /&gt;at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:480)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:443)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293)&lt;BR /&gt;at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:201)&lt;BR /&gt;at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:311)&lt;BR /&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:981)&lt;BR /&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1211)&lt;BR /&gt;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1166)&lt;BR /&gt;at java.base/java.lang.Thread.run(Thread.java:1583)&lt;BR /&gt;Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Authentication': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')&lt;BR /&gt;at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 16]&lt;BR /&gt;at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2596)&lt;BR /&gt;at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2622)&lt;BR /&gt;at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2630)&lt;BR /&gt;at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:830)&lt;BR /&gt;at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidToken(UTF8StreamJsonParser.java:3662)&lt;BR /&gt;at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2749)&lt;BR /&gt;at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:867)&lt;BR /&gt;at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:753)&lt;BR /&gt;at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:5058)&lt;BR /&gt;at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4961)&lt;BR /&gt;at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3948)&lt;BR /&gt;at org.apache.nifi.web.api.FlowResource.readReplicatedCurrentUserEntity(FlowResource.java:444)&lt;BR /&gt;... 121 common frames omitted&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 09:55:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412177#M253292</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-08-26T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error Insufficient Permissions when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412181#M253296</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged&amp;nbsp;&lt;SPAN&gt;our NiFi experts,&amp;nbsp;&lt;A target="_blank" rel="noopener"&gt;@MattWho&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;, who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 07:11:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412181#M253296</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2025-08-26T07:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412187#M253302</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was checking the configuration and comparing it with other threads and it looks fine to me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I was checking that users.xml and&amp;nbsp;authorizations.xml cannot already exist to be created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will need to stop the NiFi and then rename those files:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cp conf/authorizations.xml conf/authorizations.xml.backup&lt;BR /&gt;cp conf/users.xml conf/users.xml.backup&lt;/PRE&gt;&lt;P&gt;Then you can retry.&amp;nbsp;&lt;BR /&gt;Also, it will worth to check this thread as well, that contains a lot of information on this same issue:&amp;nbsp;&lt;BR /&gt;&lt;A href="http://community.cloudera.com/t5/Support-Questions/Untrusted-proxy-error-Authentication-Failed-o-a-n-w-s/td-p/399519/page/2" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Untrusted-proxy-error-Authentication-Failed-o-a-n-w-s/m-p/399540&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 18:06:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412187#M253302</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2025-08-26T18:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412191#M253305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;,&lt;BR /&gt;Before, I delete 2 files users.xml and authorization.xml. When starting nifi, it recreate. I read content file and saw that It got the nifi user and permission. But I loged in again and got the error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 01:04:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412191#M253305</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-08-27T01:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412192#M253306</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114383"&gt;@vafs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You shared two different authorizers.xml configurations (one that uses file-user-group-provider and another that uses the ldap-user-group-provider).&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Which one are you using when you experience your error?&lt;/LI&gt;&lt;LI&gt;What version of Apache NiFi are you using?&lt;/LI&gt;&lt;LI&gt;Is this a multi-node NiFi cluster or Single NiFi instance?&lt;/LI&gt;&lt;LI&gt;Do you have an external load balance in front of your NiFi or are you accessing your NiFi instance(s) directly using the NiFi hosts assigned IP?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;While the configuration of the "ldap-provider" in the login-identity-providers.xml looks valid, the configuration in your "ldap-user-group-provider" in the authorizers.xml is not valid and is not going to return any user identities.&lt;/P&gt;&lt;P&gt;The ldap-user-group-provider executes every 30 mins to resync users and maybe groups (depending on configuration).&amp;nbsp; It executes independent of any outside input.&amp;nbsp; So the following configuration line is not valid:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="User Search Filter"&amp;gt;(uid={0})&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;The above is only valid in the "ldap-provider".&amp;nbsp; The ldap-provider is triggered when a user supplies their username and password in the NiFi login prompt. "{0}" is then replaced with the username supplied at login.&amp;nbsp; No such external input is passed to the ldap-user-group-provider, thus treating this search string as a literal value.&lt;/P&gt;&lt;P&gt;In the ldap-user-group-provider you can leave the "User Search Filter" blank if your goal is to sync all users at ONE_LEVEL from your user search base:&lt;/P&gt;&lt;PRE&gt;ou=users,dc=nifi,dc=local&lt;/PRE&gt;&lt;P&gt;While the app.log does reveal some unauthorized request to the endpoint: &lt;A href="https://10.29.144.56:8443/nifi-api/controller/nar-manager/nars," target="_blank" rel="noopener"&gt;https://10.29.144.56:8443/nifi-api/controller/nar-manager/nars,&lt;/A&gt;&amp;nbsp;it it does not show the user identity that made the request.&amp;nbsp; The nifi-user.log should include that information.&amp;nbsp; The snippet you shared&amp;nbsp; from both the nifi-app.log and nifi-user.log are not from the same time window.&amp;nbsp; Additionally the snippet shared from the nifi-user.log is incomplete (often the very last "Caused by:" section in the full stack trace tells you what they initial failure was.&lt;BR /&gt;&lt;BR /&gt;keep in mind that the file-access-policy-provider is responsible for creating the authorizations.xml file ONLY when it does not already exist.&amp;nbsp; When it needs to be created, it uses the file-access-policy-provider configuration to seed authorizations for an Initial Admin user identity and for your node identities (commonly retrieved from the file-user-group-provider, if a NiFi cluster setup is being used).&amp;nbsp; Post existence of the authorizations.xml file, modifications are made to this file via admin user actions from directly in the NiFi UI.&lt;/P&gt;&lt;P&gt;In a NiFi cluster setup the authorizer would common include the following providers:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;file-user-group-provider (contains only node identities derived from node certificates)&lt;/LI&gt;&lt;LI&gt;ldap-user-group-provider (sync users and possibly groups)&lt;/LI&gt;&lt;LI&gt;composite-configurable-user-group-provider (used to call both above providers)&lt;/LI&gt;&lt;LI&gt;file-access-policy-provider (configured to use&amp;nbsp;composite-configurable-user-group-provider)&lt;/LI&gt;&lt;LI&gt;managed-authorizer&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There is not much other insights I can provide from the information provided.&amp;nbsp; Hopefully this guidance will lead you to the useful log output and help you correct you configuration issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 13:00:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412192#M253306</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-08-27T13:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412194#M253308</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you tagged the wrong person.&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;, take a look on&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;update.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 20:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412194#M253308</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2025-08-27T20:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412197#M253310</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;I fixed the error and connect successful to nifi UI. However I have got the problem with nifi ui when login by admin user. I similar this post&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Nifi-Process-Groups-and-Processors-not-authorized-after/m-p/327745" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Supp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Nifi-Process-Groups-and-Processors-not-authorized-after/m-p/327745" target="_blank" rel="noopener"&gt;ort-Questions/Nifi-Process-Groups-and-Processors-not-authorized-after/m-p/327745&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;I can't select processor. Please help me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 09:48:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412197#M253310</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-08-28T09:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412201#M253311</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That issue is unrelated to the issue here with getting your NiFi authorizer setup correctly.&amp;nbsp; Glad you were able to get that resolved. If the feedback helped you resolve that issue, please accept that solution to help others in the community.&lt;BR /&gt;&lt;BR /&gt;What you are describing now is a missing authorization policy for your admin user.&amp;nbsp; When NiFi's authorizer seeds the initial policies for the "admin" user, that does not mean the admin user has been given all access.&amp;nbsp; It seeds the policies the admin user would need to access the UI and manage/modify authorizations for all users.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The dataflow construction icon along the top of the UI are only visible to users who have been authorized on the Process Group (PG) being displayed.&amp;nbsp; When NiFi is started for the first time it has no flow.json.gz file to load, so it generates one.&amp;nbsp; That flow.json.gz will contain the root PG (NiFi default names the root PG "NiFi Flow").&amp;nbsp; Since your admin user is not authorized yet on this root PG, all the icons are greyed out.&amp;nbsp; &amp;nbsp;You'll also notice in the lower left corner or the UI and in the "Operation" panel on left side of canvas that the PG displays a UUID instead of the name "NiFi Flow".&lt;BR /&gt;&lt;BR /&gt;Now your admin user would have the authorization set to global manage authorization policies, so in that "Operations" panel you should see a key icon that is not greyed out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1756385972984.png" style="width: 482px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46273i746DFC0C2BFF1F34/image-dimensions/482x818?v=v2" width="482" height="818" role="button" title="MattWho_0-1756385972984.png" alt="MattWho_0-1756385972984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Clicking on that key will allow you admin to authorize users (including the admin user) to the authorizations&amp;nbsp; polices specific to that PG:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_1-1756386116216.png" style="width: 692px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46274i3EF052425144A840/image-dimensions/692x450?v=v2" width="692" height="450" role="button" title="MattWho_1-1756386116216.png" alt="MattWho_1-1756386116216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Select the Policy from the drop down you want to modify and you'll see a list of users and/or groups already authorized (I expect your's will be blank).&amp;nbsp; After selecting the policy, you'll see an "Add users/groups to this policy" icon to the far right.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_2-1756386310990.png" style="width: 53px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46275i0D1207C37ADB0F83/image-dimensions/53x43?v=v2" width="53" height="43" role="button" title="MattWho_2-1756386310990.png" alt="MattWho_2-1756386310990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click on that and locate your admin user identity from the displayed list and click apply.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;View the component&lt;/STRONG&gt; - will allow and authorized user to view details and configuration of a component.&amp;nbsp; If that component is a process group, this authorization will be inherited by all components (processors, controller services, child process groups, etc) added to the canvas of that process group.&amp;nbsp; But you have the ability to set authorizations explicitly on any component directly.&amp;nbsp; So after setting this&amp;nbsp; one you should start seeing "NiFi flow" PG name.&lt;BR /&gt;&lt;STRONG&gt;Modify the component&lt;/STRONG&gt; - will allow you to make changes.&amp;nbsp; &amp;nbsp;For a PG this means making all the construct icon to become available to you along the top of the UI.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 13:17:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412201#M253311</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-08-28T13:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412203#M253312</link>
      <description>&lt;P&gt;thank you so much&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 01:09:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412203#M253312</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-08-29T01:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412204#M253313</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;I want to ask one more question. I applied above config for my cluster 3 node.&amp;nbsp;and can't log in due to untrust proxy error.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2025-08-29 10:38:45,421 INFO [NiFi Web Server-33] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.29.144.58 [&amp;lt;cn=nifi,ou=users,dc=baoviet,dc=local&amp;gt;&amp;lt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;gt;] GET https://10.29.144.56:8443/nifi-api/flow/current-user
2025-08-29 10:38:45,422 WARN [NiFi Web Server-33] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed 10.29.144.58 GET https://10.29.144.56:8443/nifi-api/flow/current-user [Untrusted proxy CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN]&lt;/LI-CODE&gt;&lt;P&gt;I added&amp;nbsp;&amp;lt;property name="Node Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;lt;/property&amp;gt; to authorizes.xml and delete file user.xml and authorization.xml. When restart nifi, I got the error:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:206)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:133)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1896)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1316)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:349)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1745)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1628)
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:888)
        ... 75 common frames omitted
Caused by: org.apache.nifi.authorization.exception.AuthorizerCreationException: org.apache.nifi.authorization.exception.AuthorizerCreationException: Unable to locate node CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN to seed policies.
        at org.apache.nifi.authorization.FileAccessPolicyProvider.onConfigured(FileAccessPolicyProvider.java:254)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.nifi.authorization.AccessPolicyProviderInvocationHandler.invoke(AccessPolicyProviderInvocationHandler.java:54)
        at jdk.proxy3/jdk.proxy3.$Proxy62.onConfigured(Unknown Source)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.loadProviderProperties(AuthorizerFactoryBean.java:189)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:159)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:63)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:200)
        ... 84 common frames omitted&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Aug 2025 03:57:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412204#M253313</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-08-29T03:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412209#M253317</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Did you setup your authorizers.xml with cluster recommended structure i outlined earlier:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1756473491412.png" style="width: 655px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46276i7AA6911E8834701F/image-dimensions/655x158?v=v2" width="655" height="158" role="button" title="MattWho_0-1756473491412.png" alt="MattWho_0-1756473491412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the log shared you can see following cause for your issue:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: org.apache.nifi.authorization.exception.AuthorizerCreationException: org.apache.nifi.authorization.exception.AuthorizerCreationException: Unable to locate node CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN to seed policies.&lt;/LI-CODE&gt;&lt;P&gt;What this exception tells me is that you added your node's certificate DN to the file-access-policy-provider only.&amp;nbsp; &amp;nbsp;So on startup the file-access-policy-provider is attempting to seed NiFi nodes policies for that user identity, but it could not find that user identity because none of the configured user-group providers in the authorizers.xml created it.&lt;BR /&gt;&lt;BR /&gt;Since this user identity derived from your node's certificate DN is not being returned by your ldap-user-group-provider,&amp;nbsp; it would need to be returned by the file-user-group-provider.&lt;BR /&gt;&lt;BR /&gt;For clarity, you are logging in just fine with your user.&amp;nbsp; What is happening is your are logging into just one of yoru NiFi cluster nodes. So upon successful authentication the request to see the UI is sent to the elected cluster coordinator and replicated to all nodes in the cluster on your behalf.&amp;nbsp; &amp;nbsp;This is where the node is the proxy doing this for your successfully authenticated user.&amp;nbsp; &amp;nbsp;So you node is not authorized to proxy user requests.&amp;nbsp; Replicating the user requests is required so changes are made all nodes in the cluster and so one node's UI can show data from all connected nodes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue(s) or answering your question(s), please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 13:34:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412209#M253317</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-08-29T13:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412214#M253321</link>
      <description>&lt;P&gt;I understand that CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN do not need to exist in ldap right. And now I need to follow the steps in your image below using composite configurable&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yoonli_0-1756691421671.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46277i2E63A3FB0CF95CAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yoonli_0-1756691421671.png" alt="yoonli_0-1756691421671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ke it work without needing it in ldap.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 01:53:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412214#M253321</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-09-01T01:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412228#M253331</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, your node certificate DNs do not need to be returned by your ldap. The common cluster setup I shared has both the file-user-group-provider (which you would use to define user identities manually) and ldap-user-group-provider (which syncs users and/or groups from your ldap so you don't need to add them manually).&lt;BR /&gt;&lt;BR /&gt;So the file-user-group-provider might look something like this in your authorizers.xml:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 2"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Above will create the user identity "&lt;SPAN&gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN" for your node's certificate manually.&amp;nbsp; it then becomes available for your file-access-policy provider to use to seed the node policies needed.&amp;nbsp; If each of your NiFi nodes has a unique DN, you would add as many "Initial User Identity &amp;lt;num&amp;gt;" lines as needed to add them all on initial startup.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;***REMINDER: users.xml and authorizations.xml files are ONLY created if they do not already exist.&amp;nbsp; Edits to file-user-group-provider or file-access-policy provider will not edit preexisting files.&lt;BR /&gt;&lt;BR /&gt;The complete&amp;nbsp; recommended authorizers.xml setup would look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;authorizers&amp;gt;
    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 2"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;
    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.ldap.tenants.LdapUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authentication Strategy"&amp;gt;ANONYMOUS&amp;lt;/property&amp;gt;

        &amp;lt;property name="Manager DN"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="TLS - Keystore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Client Auth"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Protocol"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
        &amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
        &amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;

        &amp;lt;property name="Url"&amp;gt;ldap://localhost:10389&amp;lt;/property&amp;gt;
        &amp;lt;property name="Page Size"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Sync Interval"&amp;gt;30 mins&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Membership - Enforce Case Sensitivity"&amp;gt;false&amp;lt;/property&amp;gt;

        &amp;lt;property name="User Search Base"&amp;gt;ou=users,o=nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Object Class"&amp;gt;person&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Identity Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute - Referenced Group Attribute"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Group Search Base"&amp;gt;ou=groups,o=nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Object Class"&amp;gt;groupOfNames&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Filter"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Name Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute"&amp;gt;member&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute - Referenced User Attribute"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;
    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.CompositeConfigurableUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;
    &amp;lt;accessPolicyProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider"&amp;gt;composite-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Node Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN/property&amp;gt;
        &amp;lt;property name="Node Identity 2"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/accessPolicyProvider&amp;gt;
    &amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;
    &amp;lt;/authorizer&amp;gt;
&amp;lt;/authorizers&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;*** Reminder: More then one user group provider added to the authorizers.xml can NOT return the same user or group identity.&amp;nbsp; So do not add any user identities you are syncing from ldap-user-group-provider to the file-user-group-provider or NiFi will throw an exception complaining that two providers returned the same identity.&lt;/P&gt;&lt;P&gt;Hope this helps clarify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue(s) or answering your question(s), please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 12:44:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412228#M253331</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-09-02T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412245#M253341</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp; Here is my configuration according to your instruction&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Group Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;

 &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.ldap.tenants.LdapUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authentication Strategy"&amp;gt;SIMPLE&amp;lt;/property&amp;gt;

        &amp;lt;property name="Manager DN"&amp;gt;cn=admin,dc=nifi,dc=local&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;adminpassword&amp;lt;/property&amp;gt;

        &amp;lt;property name="TLS - Keystore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Password"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Type"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Client Auth"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Protocol"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
        &amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
        &amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;

        &amp;lt;property name="Url"&amp;gt;ldap://10.29.144.58:389&amp;lt;/property&amp;gt;
        &amp;lt;property name="Page Size"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Sync Interval"&amp;gt;30 mins&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Membership - Enforce Case Sensitivity"&amp;gt;false&amp;lt;/property&amp;gt;

        &amp;lt;property name="User Search Base"&amp;gt;ou=users,dc=nifi,dc=local&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Object Class"&amp;gt;person&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;(cn={0})&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Identity Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute - Referenced Group Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Identity Strategy"&amp;gt;USE_USERNAME&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Base"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Object Class"&amp;gt;group&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Filter"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute - Referenced User Attribute"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.CompositeUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;accessPolicyProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider"&amp;gt;composite-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;cn=nifi,ou=users,dc=nifi,dc=local&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Group"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Identity 1"&amp;gt;CN=nifi-cluster, OU=NiFi, O=NiFi Cluster, L=Hanoi, ST=HaNoi, C=VN&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/accessPolicyProvider&amp;gt;

  &amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;
    &amp;lt;/authorizer&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;When I start nifi. The log emit&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: org.apache.nifi.authorization.exception.AuthorizerCreationException: org.apache.nifi.authorization.exception.AuthorizerCreationException: Unable to locate initial admin cn=nifi,ou=users,dc=baoviet,dc=local to seed policies
        at org.apache.nifi.authorization.FileAccessPolicyProvider.onConfigured(FileAccessPolicyProvider.java:254)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.nifi.authorization.AccessPolicyProviderInvocationHandler.invoke(AccessPolicyProviderInvocationHandler.java:54)
        at jdk.proxy3/jdk.proxy3.$Proxy64.onConfigured(Unknown Source)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.loadProviderProperties(AuthorizerFactoryBean.java:189)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:159)
        at org.apache.nifi.authorization.AuthorizerFactoryBean.getObject(AuthorizerFactoryBean.java:63)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:200)
        ... 84 common frames omitted&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Sep 2025 10:01:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412245#M253341</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-09-04T10:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412248#M253344</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see three issues:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Issue 1:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;You are using the wrong composite provider.&amp;nbsp; In my common setup list I properly state you need to be using the "composite-configurable-user-group-provider", but I see you are using the "composite-user-group-provider" class. However, some of the confusion comes from the example I copied from the Apache NiFi Documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#composite-file-and-ldap-based-usersgroups" target="_blank" rel="noopener"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#composite-file-and-ldap-based-usersgroups&lt;/A&gt;&lt;/P&gt;&lt;P&gt;While the NiFi doc example uses the "composite-configurable-user-group-provider" (class name and properties correct), the provider "identifier" says "composite-user-group-provider" still, making this confusing. So it looks like you missed the difference in class name.&lt;/P&gt;&lt;P&gt;Since the "file-user-group-provider" is a configurable provider (meaning users/groups can dynamically be added and removed via the NiFI UI), it must be called by a provider that supports a configurable provider.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you'll need to switch from using:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;userGroupProvider&amp;gt;
   &amp;lt;identifier&amp;gt;composite-user-group-provider&amp;lt;/identifier&amp;gt;
   &amp;lt;class&amp;gt;org.apache.nifi.authorization.CompositeUserGroupProvider&amp;lt;/class&amp;gt;
   &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
   &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider&amp;lt;/property&amp;gt;
&amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;to using:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;userGroupProvider&amp;gt;
   &amp;lt;identifier&amp;gt;composite-user-group-provider&amp;lt;/identifier&amp;gt;
   &amp;lt;class&amp;gt;org.apache.nifi.authorization.CompositeConfigurableUserGroupProvider&amp;lt;/class&amp;gt;
   &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
   &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider&amp;lt;/property&amp;gt;
&amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The "identifier" can be any string you want, but the "class" must align with the properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Issue 2:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Another issue I see is a mismatch in your user identity configured in the file-user-group-provider and the user name shown in the logs coming from your user authentication.&lt;/P&gt;&lt;P&gt;file-access-policy-provider:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cn=nifi,ou=users,dc=nifi,dc=local&lt;/LI-CODE&gt;&lt;P&gt;nifi-user.log (source of truth)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cn=nifi,ou=users,dc=baoviet,dc=local&lt;/LI-CODE&gt;&lt;P&gt;These "user identities" do not match.&lt;BR /&gt;Also keep in mind that the file-access-policy-provider can only seed policies for "user identities" that are being returned by one of your configured user-group-providers.&lt;/P&gt;&lt;P&gt;Where are you expecting this user's DN to be returned from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Issue 3:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Your ldap-user-group-provider is still misconfigured.&amp;nbsp; the following is not a valid configuration in this provider:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="User Search Filter"&amp;gt;(cn={0})&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;You can only use "{0}" in the ldap-provider login provider within the login-identity-providers.xml file.&amp;nbsp; This login provider will substitute the {0} with the username entered in the NiFi login UI. The intent of the ldap-user-group-provider is return many user identities from your ldap. the above filter cn={0} would be treated as a literal and result in no results returned.&lt;/P&gt;&lt;P&gt;Also keep in mind that you have configured your ldap-user-group-provider to return the ldap value from the "cn" ldap attribute as the "user identity" which is typically not a full user DN, like we see in the nifi-user.log you shared.&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="User Identity Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;Also I see you added this property to your ldap-user-group-provider which is NOT a valid property:&lt;/P&gt;&lt;PRE&gt;property name="Identity Strategy"&amp;gt;USE_USERNAME&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;The above property only exist in the ldap-provider found in the login-dentity-providers.xml file.&amp;nbsp; This is where your probably still have this set to "USE_DN" resulting in the full DN "user identity" you are seeing in the nifi-user.log instead off just "nifi" which i assume you are typing as the username in teh Nifi login window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue(s) or answering your question(s), please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 12:48:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412248#M253344</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-09-04T12:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412288#M253348</link>
      <description>&lt;P&gt;following your instructions, I have successfully configured and accessed nifi web with ip successfull. But I want to add haproxy as loadbalance for nifi web. When logging in, it shows an unauthorization error. Below is my configuration. I searched google and found many topics for this but when I added it, it was still not successful. I want to ask you for help.&lt;BR /&gt;haproxy.cfg&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;frontend nifi
  bind *:80
  mode http
  default_backend nifi

backend nifi
  mode http
  server nifi01 10.29.144.56:8443 ssl verify none
  server nifi02 10.29.144.57:8443 ssl verify none
  server nifi03 10.29.144.58:8443 ssl verify none
&lt;/LI-CODE&gt;&lt;P&gt;nifi.properties&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.web.proxy.host=10.29.144.56&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 03:08:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412288#M253348</guid>
      <dc:creator>yoonli</dc:creator>
      <dc:date>2025-09-05T03:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error when integrating authen with ldap</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412292#M253351</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/130962"&gt;@yoonli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This thread is growing in to multiple queries that are not directly related.&amp;nbsp; Please start a new community question so the information is easier for our community members to follow when they have similar issues.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 12:16:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-error-when-integrating-authen-with-ldap/m-p/412292#M253351</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-09-05T12:16:29Z</dc:date>
    </item>
  </channel>
</rss>

