You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (Jira)" <ji...@apache.org> on 2022/01/04 14:01:00 UTC
[jira] [Commented] (NIFI-9528) NiFi Cluster error when using managed-authorizer in 1.15.1 version
[ https://issues.apache.org/jira/browse/NIFI-9528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468641#comment-17468641 ]
Bryan Bende commented on NIFI-9528:
-----------------------------------
[~sandip87singh] can you provide the full stacktrace? there should be more to it which shows some type of error message
> NiFi Cluster error when using managed-authorizer in 1.15.1 version
> ------------------------------------------------------------------
>
> Key: NIFI-9528
> URL: https://issues.apache.org/jira/browse/NIFI-9528
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.15.1
> Reporter: Sandip Singh
> Priority: Major
> Labels: nifi
>
> I was trying to set up NiFi cluster, version 1.15.1, using NiFi-toolkit certificates in server/client mode with two nodes on two different AWS EC2 instances using nifi.security.user.authorizer=managed-authorizer instead of default {{single-user-authorizer}} and commenting out the the Single User Authorizer definition from login-identity-providers.xml but NiFi fails to start and throws following exception in the nifi-app.log:
> _...org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChainProxySecurityConfigurer' parameter 1; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency expressed through method 'setJwtAuthenticationProvider' parameter 0...._
>
> Exactly same configuration works fine on NiFi 1.13.2 version.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)