Firdaous hebbal created NIFI-5865:
-------------------------------------
Summary: Secure Nifi LDAP
Key: NIFI-5865
URL: https://issues.apache.org/jira/browse/NIFI-5865
Project: Apache NiFi
Issue Type: Bug
Reporter: Firdaous hebbal
I have this Error :
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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: 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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name
'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency
expressed through method 'setJwtAuthenticationProvider' parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authorizer': FactoryBean threw exception on object
creation; nested exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: 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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name
'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency
expressed through method 'setJwtAuthenticationProvider' parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authorizer': FactoryBean threw exception on object
creation; nested exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: 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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name
'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency
expressed through method 'setJwtAuthenticationProvider' parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authorizer': FactoryBean threw exception on object
creation; nested exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: 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; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jwtAuthenticationProvider' defined in class path resource
[nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name
'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency
expressed through method 'setJwtAuthenticationProvider' parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jwtAuthenticationProvider' defined in class path
resource [nifi-web-security-context.xml]: Cannot resolve reference to bean
'authorizer' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'authorizer': FactoryBean threw exception on object creation; nested
exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389 [Root exception is
java.net.UnknownHostException: nifi01.admin.local]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authorizer': FactoryBean threw exception on object
creation; nested exception is org.springframework.ldap.CommunicationException:
nifi01.admin.local:389; nested exception is
javax.naming.CommunicationException: nifi01.admin.local:389
Can someone help me
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)