Sandip Singh created NIFI-9528:
----------------------------------

             Summary: 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


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)

Reply via email to