Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9528

NiFi Cluster error when using managed-authorizer in 1.15.1 version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.15.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sandip87singh Sandip Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: