[
https://issues.apache.org/jira/browse/NIFI-16012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-16012:
----------------------------------
Fix Version/s: 2.10.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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: 0.5h
> 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)