Daniel Stieglitz created NIFI-16012:
---------------------------------------
Summary: Replace deprecated PagedResultsDirContextProcessor with
API suggested replacement
Key: NIFI-16012
URL: https://issues.apache.org/jira/browse/NIFI-16012
Project: Apache NiFi
Issue Type: Improvement
Reporter: Daniel Stieglitz
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)