[ 
https://issues.apache.org/jira/browse/NIFI-10408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598056#comment-17598056
 ] 

ASF subversion and git services commented on NIFI-10408:
--------------------------------------------------------

Commit 3a6d724b4482d64d46aa64ccb7a59b074b172e01 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3a6d724b44 ]

NIFI-10408 Added build user method to LdapUserGroupProvider

- Introduced blank user identity checking with improved error reporting for 
misconfigured mapping
- Simplified LDAP ThreadFactory configuration
- Replaced String.format() with placeholders for debug logging
- Replaced deprecated FormatUtils.getTimeDuration with getPreciseTimeDuration

Signed-off-by: Nathan Gough <[email protected]>

This closes #6351.


> Include user value when an LDAP error occurs during startup
> -----------------------------------------------------------
>
>                 Key: NIFI-10408
>                 URL: https://issues.apache.org/jira/browse/NIFI-10408
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Wynner
>            Assignee: David Handermann
>            Priority: Minor
>              Labels: Authorization, LDAP, NiFi, ldap.conf
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
>  
> ERROR org.springframework.web.context.ContextLoader: Context initialization 
> failed
> 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 java.lang.IllegalArgumentException: Identity can not be 
> null or empty
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to