[
https://issues.apache.org/jira/browse/NIFI-16012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088355#comment-18088355
]
ASF subversion and git services commented on NIFI-16012:
--------------------------------------------------------
Commit 8742eb8c37b291c2a9671b8f86798c854929057b in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8742eb8c37b ]
NIFI-16012 Replaced deprecated PagedResultsDirContextProcessor with
PagedResultsControlExchangeDirContextProcessor. (#11329)
> Replace deprecated PagedResultsDirContextProcessor with
> PagedResultsControlExchangeDirContextProcessor
> ------------------------------------------------------------------------------------------------------
>
> Key: NIFI-16012
> URL: https://issues.apache.org/jira/browse/NIFI-16012
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Fix For: 2.10.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> It appears PagedResultsDirContextProcessor has been deprecated between
> versions 4.0.3 to 4.1.0 of Spring LDAP. Hence when the version was upgraded
> in NIFI-16007 the following warning messages appeared in the logs
> {code:java}
> 2026-06-09T05:11:10.0638220Z [WARNING]
> /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/security/ldap/tenants/LdapUserGroupProvider.java:[467,40]
> [deprecation] PagedResultsDirContextProcessor in
> org.springframework.ldap.control has been deprecated
> 2026-06-09T05:11:10.0702066Z [WARNING]
> /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/security/ldap/tenants/LdapUserGroupProvider.java:[541,41]
> [deprecation] PagedResultsDirContextProcessor in
> org.springframework.ldap.control has been deprecated
> 2026-06-09T05:11:10.0705007Z [WARNING]
> /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/security/ldap/tenants/LdapUserGroupProvider.java:[680,36]
> [deprecation] PagedResultsDirContextProcessor in
> org.springframework.ldap.control has been deprecated
> 2026-06-09T05:11:10.0707858Z [WARNING]
> /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/security/ldap/tenants/LdapUserGroupProvider.java:[680,73]
> [deprecation] PagedResultsDirContextProcessor in
> org.springframework.ldap.control has been deprecated{code}
> The goal of this ticket is to replace PagedResultsDirContextProcessor with
> PagedResultsControlExchangeDirContextProcessor as specified in the
> PagedResultsDirContextProcessor
> [javadocs|https://docs.spring.io/spring-ldap/reference/api/java/org/springframework/ldap/control/PagedResultsDirContextProcessor.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)