[ 
https://issues.apache.org/jira/browse/NIFI-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Firdaous hebbal updated NIFI-5865:
----------------------------------
    Comment: was deleted

(was: in /etc/Hosts :

172.22.2.60        nifi01.mintopsblog.local)

> Secure Nifi LDAP
> ----------------
>
>                 Key: NIFI-5865
>                 URL: https://issues.apache.org/jira/browse/NIFI-5865
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Firdaous hebbal
>            Priority: Major
>         Attachments: authorizations.xml, authorizers.xml, 
> login-identity-providers.xml, nifi.properties, users.xml
>
>
> 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)

Reply via email to