Re: [PR] DIRAPI-397 Update Copyright Year [directory-ldap-api]

2024-03-04 Thread via GitHub


bdemers commented on PR #78:
URL: 
https://github.com/apache/directory-ldap-api/pull/78#issuecomment-1977658498

   +1
   
   As an aside should we change this text to `2003-present`
   IIRC, the start date is the important one 
([IANAL](https://en.wiktionary.org/wiki/IANAL))


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump ch.qos.logback:logback-classic from 1.4.8 to 1.5.3 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers commented on PR #530:
URL: 
https://github.com/apache/directory-scimple/pull/530#issuecomment-1977655145

   @dependabot recreate


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump org.codehaus.mojo:exec-maven-plugin from 3.1.1 to 3.2.0 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #524:
URL: https://github.com/apache/directory-scimple/pull/524


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump com.gradle:gradle-enterprise-maven-extension from 1.20 to 1.20.1 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #517:
URL: https://github.com/apache/directory-scimple/pull/517


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump version.spring-boot from 3.2.2 to 3.2.3 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #526:
URL: https://github.com/apache/directory-scimple/pull/526


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump com.h3xstream.findsecbugs:findsecbugs-plugin from 1.12.0 to 1.13.0 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #527:
URL: https://github.com/apache/directory-scimple/pull/527


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump com.gradle:common-custom-user-data-maven-extension from 1.12.5 to 1.13 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #531:
URL: https://github.com/apache/directory-scimple/pull/531


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump version.quarkus from 3.7.3 to 3.8.1 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #532:
URL: https://github.com/apache/directory-scimple/pull/532


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump org.mockito:mockito-junit-jupiter from 5.10.0 to 5.11.0 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #533:
URL: https://github.com/apache/directory-scimple/pull/533


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump org.mockito:mockito-core from 5.10.0 to 5.11.0 [directory-scimple]

2024-03-04 Thread via GitHub


bdemers merged PR #529:
URL: https://github.com/apache/directory-scimple/pull/529


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



[PR] Bump ch.qos.logback:logback-classic from 1.5.1 to 1.5.3 [directory-server]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #157:
URL: https://github.com/apache/directory-server/pull/157

   Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) 
from 1.5.1 to 1.5.3.
   
   Commits
   
   https://github.com/qos-ch/logback/commit/f2d8a1a30a5b53a906fa5fa2dd8e7fd70911;>f2d8a1a
 prepare release 1.5.3
   https://github.com/qos-ch/logback/commit/99ccca7986b5fb0fd029946e92623c0ac4d3868e;>99ccca7
 fix /issues/785
   https://github.com/qos-ch/logback/commit/df7c7c55e94289af4ee92324d4359ee131cab4e8;>df7c7c5
 prepare work on 1.5.3-SNAPSHOT
   https://github.com/qos-ch/logback/commit/baf5d705612d058e2b3323b648cd4592ae586337;>baf5d70
 prepare release 1.5.2
   https://github.com/qos-ch/logback/commit/6998e81db1f2cb1b863f57c5e32b7d3a12459e0d;>6998e81
 add NoAutoStartUtil.shouldBeStarted method
   https://github.com/qos-ch/logback/commit/40bc1c225da6df2d4234eb4eb2fd18ceee816a4e;>40bc1c2
 export tyler related packages
   https://github.com/qos-ch/logback/commit/0094ba31e8f728554c1bb3182aca7c2ac61f13ed;>0094ba3
 start work on  1.5.2-SNAPSHOT
   See full diff in https://github.com/qos-ch/logback/compare/v_1.5.1...v_1.5.3;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-classic=maven=1.5.1=1.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



[PR] Bump actions/setup-java from 4.0.0 to 4.1.0 [directory-server]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #156:
URL: https://github.com/apache/directory-server/pull/156

   Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.0.0 
to 4.1.0.
   
   Release notes
   Sourced from https://github.com/actions/setup-java/releases;>actions/setup-java's 
releases.
   
   V4.1.0
   What's Changed
   
   Added Windows Arm64 Support for Windows Arm64 Runners by https://github.com/mahabaleshwars;>@​mahabaleshwars in 
https://redirect.github.com/actions/setup-java/pull/595;>actions/setup-java#595
   feat: bump actions/checkout and actions/setup-java to v4 by https://github.com/kbdharun;>@​kbdharun in https://redirect.github.com/actions/setup-java/pull/533;>actions/setup-java#533
   Handle authorization when the token is undefined by https://github.com/peter-murray;>@​peter-murray in https://redirect.github.com/actions/setup-java/pull/556;>actions/setup-java#556
   Documentation update of Java 21 by https://github.com/Okeanos;>@​Okeanos in https://redirect.github.com/actions/setup-java/pull/566;>actions/setup-java#566
   Documentation update about maven-gpg-plugin version note by https://github.com/IvanZosimov;>@​IvanZosimov in https://redirect.github.com/actions/setup-java/pull/570;>actions/setup-java#570
   Oracle JDK 21 support by https://github.com/jdubois;>@​jdubois in https://redirect.github.com/actions/setup-java/pull/538;>actions/setup-java#538
   Fix typo in configuration example by https://github.com/Bananeweizen;>@​Bananeweizen in https://redirect.github.com/actions/setup-java/pull/572;>actions/setup-java#572
   
   New Contributors
   
   https://github.com/kbdharun;>@​kbdharun made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/533;>actions/setup-java#533
   https://github.com/peter-murray;>@​peter-murray made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/556;>actions/setup-java#556
   https://github.com/jdubois;>@​jdubois made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/538;>actions/setup-java#538
   https://github.com/Bananeweizen;>@​Bananeweizen made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/572;>actions/setup-java#572
   https://github.com/mahabaleshwars;>@​mahabaleshwars made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/595;>actions/setup-java#595
   
   Full Changelog: https://github.com/actions/setup-java/compare/v4...v4.1.0;>https://github.com/actions/setup-java/compare/v4...v4.1.0
   
   
   
   Commits
   
   https://github.com/actions/setup-java/commit/9704b39bf258b59bc04b50fa2dd55e9ed76b47a8;>9704b39
 Added Windows Arm64 Support for Windows Arm64 Runners (https://redirect.github.com/actions/setup-java/issues/595;>#595)
   https://github.com/actions/setup-java/commit/7a445ee88d4e23b52c33fdc7601e40278616c7f8;>7a445ee
 Fix typo in configuration example (https://redirect.github.com/actions/setup-java/issues/572;>#572)
   https://github.com/actions/setup-java/commit/3232623d9c428cc5f228a01a2ae8d2d70f79775e;>3232623
 Oracle JDK 21 support (https://redirect.github.com/actions/setup-java/issues/538;>#538)
   https://github.com/actions/setup-java/commit/c0660d8edc6bc867c9d061fe281338039e3e0092;>c0660d8
 docs: add note about maven-gpg-plugin version (https://redirect.github.com/actions/setup-java/issues/570;>#570)
   https://github.com/actions/setup-java/commit/2f7af1b9c5646dcf9105b2004b0c5d8f68026bad;>2f7af1b
 make it clear that Java 21 is supported (https://redirect.github.com/actions/setup-java/issues/566;>#566)
   https://github.com/actions/setup-java/commit/16ef37f8dd292a31055a9ee0d26fa0a4efab58de;>16ef37f
 HTTP errors when the token is undefined (https://redirect.github.com/actions/setup-java/issues/556;>#556)
   https://github.com/actions/setup-java/commit/a2374547dfdd276b7bd9e4ba2c6ba50647d9c8a7;>a237454
 feat: bump actions/checkout and actions/setup-java to v4 (https://redirect.github.com/actions/setup-java/issues/533;>#533)
   See full diff in https://github.com/actions/setup-java/compare/387ac29b308b003ca37ba93a6cab5eb57c8f5f93...9704b39bf258b59bc04b50fa2dd55e9ed76b47a8;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java=github_actions=4.0.0=4.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will 

[PR] Bump org.mockito:mockito-junit-jupiter from 5.10.0 to 5.11.0 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #533:
URL: https://github.com/apache/directory-scimple/pull/533

   Bumps 
[org.mockito:mockito-junit-jupiter](https://github.com/mockito/mockito) from 
5.10.0 to 5.11.0.
   
   Release notes
   Sourced from https://github.com/mockito/mockito/releases;>org.mockito:mockito-junit-jupiter's
 releases.
   
   v5.11.0
   Changelog generated 
by https://github.com/shipkit/shipkit-changelog;>Shipkit Changelog 
Gradle Plugin
   5.11.0
   
   2024-03-01 - https://github.com/mockito/mockito/compare/v5.10.0...v5.11.0;>17 
commit(s) by Aouichaoui Youssef, Franz Wong, Pranoti Durugkar, Róbert Papp, 
dependabot[bot]
   Fixes https://redirect.github.com/mockito/mockito/issues/3281;>#3281 : Add 
native method to exception message of MissingMethodI… [(https://redirect.github.com/mockito/mockito/issues/3283;>#3283)](https://redirect.github.com/mockito/mockito/pull/3283;>mockito/mockito#3283)
   MissingMethodInvocationException is thrown when mocking native method in 
5.x [(https://redirect.github.com/mockito/mockito/issues/3281;>#3281)](https://redirect.github.com/mockito/mockito/issues/3281;>mockito/mockito#3281)
   Bump com.google.googlejavaformat:google-java-format from 1.19.2 to 
1.20.0 [(https://redirect.github.com/mockito/mockito/issues/3277;>#3277)](https://redirect.github.com/mockito/mockito/pull/3277;>mockito/mockito#3277)
   Bump versions.bytebuddy from 1.14.11 to 1.14.12 [(https://redirect.github.com/mockito/mockito/issues/3272;>#3272)](https://redirect.github.com/mockito/mockito/pull/3272;>mockito/mockito#3272)
   Bump gradle/wrapper-validation-action from 2.1.0 to 2.1.1 [(https://redirect.github.com/mockito/mockito/issues/3268;>#3268)](https://redirect.github.com/mockito/mockito/pull/3268;>mockito/mockito#3268)
   Bump org.shipkit:shipkit-auto-version from 2.0.3 to 2.0.4 [(https://redirect.github.com/mockito/mockito/issues/3267;>#3267)](https://redirect.github.com/mockito/mockito/pull/3267;>mockito/mockito#3267)
   Bump gradle/wrapper-validation-action from 2.0.1 to 2.1.0 [(https://redirect.github.com/mockito/mockito/issues/3266;>#3266)](https://redirect.github.com/mockito/mockito/pull/3266;>mockito/mockito#3266)
   Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 
[(https://redirect.github.com/mockito/mockito/issues/3265;>#3265)](https://redirect.github.com/mockito/mockito/pull/3265;>mockito/mockito#3265)
   Bump gradle/wrapper-validation-action from 2.0.0 to 2.0.1 [(https://redirect.github.com/mockito/mockito/issues/3264;>#3264)](https://redirect.github.com/mockito/mockito/pull/3264;>mockito/mockito#3264)
   Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 [(https://redirect.github.com/mockito/mockito/issues/3261;>#3261)](https://redirect.github.com/mockito/mockito/pull/3261;>mockito/mockito#3261)
   Bump versions.junitJupiter from 5.10.1 to 5.10.2 [(https://redirect.github.com/mockito/mockito/issues/3260;>#3260)](https://redirect.github.com/mockito/mockito/pull/3260;>mockito/mockito#3260)
   Bump gradle/wrapper-validation-action from 1.1.0 to 2.0.0 [(https://redirect.github.com/mockito/mockito/issues/3258;>#3258)](https://redirect.github.com/mockito/mockito/pull/3258;>mockito/mockito#3258)
   Fixes https://redirect.github.com/mockito/mockito/issues/3229;>#3229: 
Resolve test generic arguments [(https://redirect.github.com/mockito/mockito/issues/3257;>#3257)](https://redirect.github.com/mockito/mockito/pull/3257;>mockito/mockito#3257)
   Bump org.shipkit:shipkit-auto-version from 2.0.2 to 2.0.3 [(https://redirect.github.com/mockito/mockito/issues/3256;>#3256)](https://redirect.github.com/mockito/mockito/pull/3256;>mockito/mockito#3256)
   Use kvm on ubuntu instead of macos to run Android tests [(https://redirect.github.com/mockito/mockito/issues/3252;>#3252)](https://redirect.github.com/mockito/mockito/pull/3252;>mockito/mockito#3252)
   Fixes https://redirect.github.com/mockito/mockito/issues/3240;>#3240 : 
Renamed mockito bom artifact [(https://redirect.github.com/mockito/mockito/issues/3251;>#3251)](https://redirect.github.com/mockito/mockito/pull/3251;>mockito/mockito#3251)
   Remove shipkit workaround for generateChangelog [(https://redirect.github.com/mockito/mockito/issues/3250;>#3250)](https://redirect.github.com/mockito/mockito/pull/3250;>mockito/mockito#3250)
   Bump com.gradle.enterprise from 3.16.1 to 3.16.2 [(https://redirect.github.com/mockito/mockito/issues/3249;>#3249)](https://redirect.github.com/mockito/mockito/pull/3249;>mockito/mockito#3249)
   Mockito bom missing artifact in maven central for java21 [(https://redirect.github.com/mockito/mockito/issues/3240;>#3240)](https://redirect.github.com/mockito/mockito/issues/3240;>mockito/mockito#3240)
   @Captor test parameters don't work with primitive type 
arguments [(https://redirect.github.com/mockito/mockito/issues/3229;>#3229)](https://redirect.github.com/mockito/mockito/issues/3229;>mockito/mockito#3229)
   Gradle 8.2: work around fix for release publishing 

Re: [PR] Bump version.quarkus from 3.7.3 to 3.7.4 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] closed pull request #525: Bump version.quarkus from 3.7.3 to 
3.7.4
URL: https://github.com/apache/directory-scimple/pull/525


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



[PR] Bump version.quarkus from 3.7.3 to 3.8.1 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #532:
URL: https://github.com/apache/directory-scimple/pull/532

   Bumps `version.quarkus` from 3.7.3 to 3.8.1.
   Updates `io.quarkus.platform:quarkus-bom` from 3.7.3 to 3.8.1
   
   Commits
   
   https://github.com/quarkusio/quarkus-platform/commit/68d8e2991fc569ca61a046aa71db2de4b129e0f8;>68d8e29
 [maven-release-plugin] prepare release 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/7976b3dd607677a3ad3fd77b1ad3e9251a9f2695;>7976b3d
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1131;>#1131
 from gsmet/quarkus-3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/bd3ed08a4f9662486992be0ddbd76ef03f1ed3ab;>bd3ed08
 Upgrade to Quarkus 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/3fa71db9ecef386fe7b9e300775e2366aeceafe1;>3fa71db
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1130;>#1130
 from vsevel/feature/vault_3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/d33c5bec4eb500b9d388a12bea86b536860e3b5e;>d33c5be
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1129;>#1129
 from aldettinger/main
   https://github.com/quarkusio/quarkus-platform/commit/a641fb467a2266bcec0a9d4e7d0e9d76bfe667c9;>a641fb4
 Upgrade to Camel Quarkus 3.8.0
   https://github.com/quarkusio/quarkus-platform/commit/33207b7a1c7ee70b5356c43c70eccac548bf9631;>33207b7
 Vault 3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/5948661cd64deb11dfa76ad4b0b2141ae1f303c4;>5948661
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1128;>#1128
 from scrocquesel/update-amz
   https://github.com/quarkusio/quarkus-platform/commit/f9c76f9cb4c1a3b1fec64b621db90018f07e3afe;>f9c76f9
 Update Quarkus Amazon Services to 2.12.1
   https://github.com/quarkusio/quarkus-platform/commit/e4d53a5295aa4e32d9ae520f8653f9a8860f0394;>e4d53a5
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1127;>#1127
 from JiriOndrusek/upgrade-qcxf-3.8.0
   Additional commits viewable in https://github.com/quarkusio/quarkus-platform/compare/3.7.3...3.8.1;>compare
 view
   
   
   
   
   Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.7.3 to 3.8.1
   
   Commits
   
   https://github.com/quarkusio/quarkus-platform/commit/68d8e2991fc569ca61a046aa71db2de4b129e0f8;>68d8e29
 [maven-release-plugin] prepare release 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/7976b3dd607677a3ad3fd77b1ad3e9251a9f2695;>7976b3d
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1131;>#1131
 from gsmet/quarkus-3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/bd3ed08a4f9662486992be0ddbd76ef03f1ed3ab;>bd3ed08
 Upgrade to Quarkus 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/3fa71db9ecef386fe7b9e300775e2366aeceafe1;>3fa71db
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1130;>#1130
 from vsevel/feature/vault_3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/d33c5bec4eb500b9d388a12bea86b536860e3b5e;>d33c5be
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1129;>#1129
 from aldettinger/main
   https://github.com/quarkusio/quarkus-platform/commit/a641fb467a2266bcec0a9d4e7d0e9d76bfe667c9;>a641fb4
 Upgrade to Camel Quarkus 3.8.0
   https://github.com/quarkusio/quarkus-platform/commit/33207b7a1c7ee70b5356c43c70eccac548bf9631;>33207b7
 Vault 3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/5948661cd64deb11dfa76ad4b0b2141ae1f303c4;>5948661
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1128;>#1128
 from scrocquesel/update-amz
   https://github.com/quarkusio/quarkus-platform/commit/f9c76f9cb4c1a3b1fec64b621db90018f07e3afe;>f9c76f9
 Update Quarkus Amazon Services to 2.12.1
   https://github.com/quarkusio/quarkus-platform/commit/e4d53a5295aa4e32d9ae520f8653f9a8860f0394;>e4d53a5
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1127;>#1127
 from JiriOndrusek/upgrade-qcxf-3.8.0
   Additional commits viewable in https://github.com/quarkusio/quarkus-platform/compare/3.7.3...3.8.1;>compare
 view
   
   
   
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel 

Re: [PR] Bump version.quarkus from 3.7.3 to 3.7.4 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] commented on PR #525:
URL: 
https://github.com/apache/directory-scimple/pull/525#issuecomment-1977106477

   Superseded by #532.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



[PR] Bump com.gradle:common-custom-user-data-maven-extension from 1.12.5 to 1.13 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #531:
URL: https://github.com/apache/directory-scimple/pull/531

   Bumps 
[com.gradle:common-custom-user-data-maven-extension](https://github.com/gradle/common-custom-user-data-maven-extension)
 from 1.12.5 to 1.13.
   
   Release notes
   Sourced from https://github.com/gradle/common-custom-user-data-maven-extension/releases;>com.gradle:common-custom-user-data-maven-extension's
 releases.
   
   1.13
   
   [New] Capture CI provider custom value.
   
   
   
   
   Commits
   
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/93251f397b101bdaa9f613a9f0ca5f2e166d3735;>93251f3
 [maven-release-plugin] prepare release v1.13
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/5d3df8b89119ebec4e4dd0261445008b4dca745c;>5d3df8b
 Merge pull request https://redirect.github.com/gradle/common-custom-user-data-maven-extension/issues/200;>#200
 from gradle/gk/captureCiProvider
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/c9a76d2665334747ab15987ff99379cb3132;>c9a76d2
 Updated changes.md
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/7388710abe1dd5a5f9c7a1e429b904097cf37847;>7388710
 Added capturing CI provider as a custom value
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/61d14eea08956b293aaa11670853d112e3903302;>61d14ee
 Merge pull request https://redirect.github.com/gradle/common-custom-user-data-maven-extension/issues/199;>#199
 from gradle/gk/revertDetachedHead
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/8c9e1b66faccbdfcf6a22c75ae05355e64255501;>8c9e1b6
 Revert Merge pull request https://redirect.github.com/gradle/common-custom-user-data-maven-extension/issues/198;>#198
 from gradle/cj/ci-detached-head-state
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/2d366d8c801944716f6f713b77ff65f4be6658bc;>2d366d8
 Update to use version 1.12.5 of the Common Custom User Data Maven 
Extension
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/29219bcea63bbacf2346af609ec1ca7043a46c51;>29219bc
 Merge pull request https://redirect.github.com/gradle/common-custom-user-data-maven-extension/issues/198;>#198
 from gradle/cj/ci-detached-head-state
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/c8022c4145ff4ec017e1376aaf8cccd4d4801e11;>c8022c4
 Update release notes with new CI detached HEAD state changes
   https://github.com/gradle/common-custom-user-data-maven-extension/commit/38751e2dd93c45bba8071f738dcab436bc9e6103;>38751e2
 For Jenkins, consider GIT_BRANCH when deriving branch names
   Additional commits viewable in https://github.com/gradle/common-custom-user-data-maven-extension/compare/v1.12.5...v1.13;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.gradle:common-custom-user-data-maven-extension=maven=1.12.5=1.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

Re: [PR] Bump ch.qos.logback:logback-classic from 1.4.8 to 1.5.0 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] closed pull request #522: Bump ch.qos.logback:logback-classic 
from 1.4.8 to 1.5.0
URL: https://github.com/apache/directory-scimple/pull/522


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



Re: [PR] Bump ch.qos.logback:logback-classic from 1.4.8 to 1.5.0 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] commented on PR #522:
URL: 
https://github.com/apache/directory-scimple/pull/522#issuecomment-1977105399

   Superseded by #530.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



[PR] Bump ch.qos.logback:logback-classic from 1.4.8 to 1.5.3 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #530:
URL: https://github.com/apache/directory-scimple/pull/530

   Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) 
from 1.4.8 to 1.5.3.
   
   Commits
   
   https://github.com/qos-ch/logback/commit/f2d8a1a30a5b53a906fa5fa2dd8e7fd70911;>f2d8a1a
 prepare release 1.5.3
   https://github.com/qos-ch/logback/commit/99ccca7986b5fb0fd029946e92623c0ac4d3868e;>99ccca7
 fix /issues/785
   https://github.com/qos-ch/logback/commit/df7c7c55e94289af4ee92324d4359ee131cab4e8;>df7c7c5
 prepare work on 1.5.3-SNAPSHOT
   https://github.com/qos-ch/logback/commit/baf5d705612d058e2b3323b648cd4592ae586337;>baf5d70
 prepare release 1.5.2
   https://github.com/qos-ch/logback/commit/6998e81db1f2cb1b863f57c5e32b7d3a12459e0d;>6998e81
 add NoAutoStartUtil.shouldBeStarted method
   https://github.com/qos-ch/logback/commit/40bc1c225da6df2d4234eb4eb2fd18ceee816a4e;>40bc1c2
 export tyler related packages
   https://github.com/qos-ch/logback/commit/0094ba31e8f728554c1bb3182aca7c2ac61f13ed;>0094ba3
 start work on  1.5.2-SNAPSHOT
   https://github.com/qos-ch/logback/commit/88fd31c639ba6cad5e8c11bf980690f04e27eb1e;>88fd31c
 prepare release 1.5.1
   https://github.com/qos-ch/logback/commit/231e9bdcb3bf9e79fd028a4ca89fa8616d9d7551;>231e9bd
 more internal changes and refactorings
   https://github.com/qos-ch/logback/commit/8f3a30422fbec60715aa14abc5321bc5c76e9b5d;>8f3a304
 more fine tuning of propertyModelHandler and co
   Additional commits viewable in https://github.com/qos-ch/logback/compare/v_1.4.8...v_1.5.3;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-classic=maven=1.4.8=1.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org



[PR] Bump org.mockito:mockito-core from 5.10.0 to 5.11.0 [directory-scimple]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #529:
URL: https://github.com/apache/directory-scimple/pull/529

   Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 
5.10.0 to 5.11.0.
   
   Release notes
   Sourced from https://github.com/mockito/mockito/releases;>org.mockito:mockito-core's 
releases.
   
   v5.11.0
   Changelog generated 
by https://github.com/shipkit/shipkit-changelog;>Shipkit Changelog 
Gradle Plugin
   5.11.0
   
   2024-03-01 - https://github.com/mockito/mockito/compare/v5.10.0...v5.11.0;>17 
commit(s) by Aouichaoui Youssef, Franz Wong, Pranoti Durugkar, Róbert Papp, 
dependabot[bot]
   Fixes https://redirect.github.com/mockito/mockito/issues/3281;>#3281 : Add 
native method to exception message of MissingMethodI… [(https://redirect.github.com/mockito/mockito/issues/3283;>#3283)](https://redirect.github.com/mockito/mockito/pull/3283;>mockito/mockito#3283)
   MissingMethodInvocationException is thrown when mocking native method in 
5.x [(https://redirect.github.com/mockito/mockito/issues/3281;>#3281)](https://redirect.github.com/mockito/mockito/issues/3281;>mockito/mockito#3281)
   Bump com.google.googlejavaformat:google-java-format from 1.19.2 to 
1.20.0 [(https://redirect.github.com/mockito/mockito/issues/3277;>#3277)](https://redirect.github.com/mockito/mockito/pull/3277;>mockito/mockito#3277)
   Bump versions.bytebuddy from 1.14.11 to 1.14.12 [(https://redirect.github.com/mockito/mockito/issues/3272;>#3272)](https://redirect.github.com/mockito/mockito/pull/3272;>mockito/mockito#3272)
   Bump gradle/wrapper-validation-action from 2.1.0 to 2.1.1 [(https://redirect.github.com/mockito/mockito/issues/3268;>#3268)](https://redirect.github.com/mockito/mockito/pull/3268;>mockito/mockito#3268)
   Bump org.shipkit:shipkit-auto-version from 2.0.3 to 2.0.4 [(https://redirect.github.com/mockito/mockito/issues/3267;>#3267)](https://redirect.github.com/mockito/mockito/pull/3267;>mockito/mockito#3267)
   Bump gradle/wrapper-validation-action from 2.0.1 to 2.1.0 [(https://redirect.github.com/mockito/mockito/issues/3266;>#3266)](https://redirect.github.com/mockito/mockito/pull/3266;>mockito/mockito#3266)
   Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 
[(https://redirect.github.com/mockito/mockito/issues/3265;>#3265)](https://redirect.github.com/mockito/mockito/pull/3265;>mockito/mockito#3265)
   Bump gradle/wrapper-validation-action from 2.0.0 to 2.0.1 [(https://redirect.github.com/mockito/mockito/issues/3264;>#3264)](https://redirect.github.com/mockito/mockito/pull/3264;>mockito/mockito#3264)
   Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 [(https://redirect.github.com/mockito/mockito/issues/3261;>#3261)](https://redirect.github.com/mockito/mockito/pull/3261;>mockito/mockito#3261)
   Bump versions.junitJupiter from 5.10.1 to 5.10.2 [(https://redirect.github.com/mockito/mockito/issues/3260;>#3260)](https://redirect.github.com/mockito/mockito/pull/3260;>mockito/mockito#3260)
   Bump gradle/wrapper-validation-action from 1.1.0 to 2.0.0 [(https://redirect.github.com/mockito/mockito/issues/3258;>#3258)](https://redirect.github.com/mockito/mockito/pull/3258;>mockito/mockito#3258)
   Fixes https://redirect.github.com/mockito/mockito/issues/3229;>#3229: 
Resolve test generic arguments [(https://redirect.github.com/mockito/mockito/issues/3257;>#3257)](https://redirect.github.com/mockito/mockito/pull/3257;>mockito/mockito#3257)
   Bump org.shipkit:shipkit-auto-version from 2.0.2 to 2.0.3 [(https://redirect.github.com/mockito/mockito/issues/3256;>#3256)](https://redirect.github.com/mockito/mockito/pull/3256;>mockito/mockito#3256)
   Use kvm on ubuntu instead of macos to run Android tests [(https://redirect.github.com/mockito/mockito/issues/3252;>#3252)](https://redirect.github.com/mockito/mockito/pull/3252;>mockito/mockito#3252)
   Fixes https://redirect.github.com/mockito/mockito/issues/3240;>#3240 : 
Renamed mockito bom artifact [(https://redirect.github.com/mockito/mockito/issues/3251;>#3251)](https://redirect.github.com/mockito/mockito/pull/3251;>mockito/mockito#3251)
   Remove shipkit workaround for generateChangelog [(https://redirect.github.com/mockito/mockito/issues/3250;>#3250)](https://redirect.github.com/mockito/mockito/pull/3250;>mockito/mockito#3250)
   Bump com.gradle.enterprise from 3.16.1 to 3.16.2 [(https://redirect.github.com/mockito/mockito/issues/3249;>#3249)](https://redirect.github.com/mockito/mockito/pull/3249;>mockito/mockito#3249)
   Mockito bom missing artifact in maven central for java21 [(https://redirect.github.com/mockito/mockito/issues/3240;>#3240)](https://redirect.github.com/mockito/mockito/issues/3240;>mockito/mockito#3240)
   @Captor test parameters don't work with primitive type 
arguments [(https://redirect.github.com/mockito/mockito/issues/3229;>#3229)](https://redirect.github.com/mockito/mockito/issues/3229;>mockito/mockito#3229)
   Gradle 8.2: work around fix for release publishing 

[jira] [Comment Edited] (DIRAPI-399) Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) picked up

2024-03-04 Thread Thomas Jodes (Jira)


[ 
https://issues.apache.org/jira/browse/DIRAPI-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17823128#comment-17823128
 ] 

Thomas Jodes edited comment on DIRAPI-399 at 3/4/24 1:22 PM:
-

Edit: I switched paged search as seen above not to use the EntryCursorImpl, but 
to use [SearchCursor like 
here|https://directory.apache.org/api/user-guide/2.3-searching.html]. Just to 
work with the SearchCursor and to use the cast to SearchResultEntry.

Interestingly, not a single SearchResultReference comes up, so referals absent 
here. When wrapping the searchResult in the EntryCursorImpl (EntryCursor cursor 
= new EntryCursorImpl(searchCursor)), the references are in the first page 
results.


was (Author: JIRAUSER286693):
Edit: I switched paged search as seen above not to use the EntryCursorImpl, but 
to use [SearchCursor like 
here|[http://example.com|https://directory.apache.org/api/user-guide/2.3-searching.html]].
 Just to work with the SearchCursor and to use the cast to SearchResultEntry.

Interestingly, not a single SearchResultReference comes up, so referals absent 
here. When wrapping the searchResult in the EntryCursorImpl (EntryCursor cursor 
= new EntryCursorImpl(searchCursor)), the references are in the first page 
results.

> Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) 
> picked up
> --
>
> Key: DIRAPI-399
> URL: https://issues.apache.org/jira/browse/DIRAPI-399
> Project: Directory Client API
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Thomas Jodes
>Priority: Major
> Attachments: Screenshot from 2024-03-01 15-47-26.png, Screenshot from 
> 2024-03-01 15-48-52.png
>
>
> As a ldap-api user, I want to search my DIT paginated from a base where also 
> referrals / 
> [SearchResultReference|https://github.com/apache/directory-ldap-api/blob/c4fcf46f72601c1729d6d5321e2cdc7126f94b14/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultReferenceImpl.java#L28]s
>  are.
> Following paged search code:
>  
> {code:java}
> int pageSize = 100;
> LdapConnection connection = null;
> try {
> connection = ldapConnectionPool.getConnection();  
> int page = 0; // the current page
> PagedResults pagedSearchControl = new PagedResultsImpl();  
> pagedSearchControl.setSize(pageSize);
> // Loop using the paged search control extension
> while(true) {
> SearchRequest searchRequest = new SearchRequestImpl()
> .ignoreReferrals() 
> .setDerefAliases(AliasDerefMode.NEVER_DEREF_ALIASES)
> .setBase(new Dn(searchBase))
> .setFilter(filter)
> .setScope(SearchScope.SUBTREE)
> .addAttributes(attributes)
> .setTimeLimit(120)
> .addControl(pagedSearchControl);
> SearchCursorImpl searchCursor = (SearchCursorImpl)
> connection.search(searchRequest);
> try (EntryCursor cursor = new EntryCursorImpl(searchCursor)) {
> while (cursor.next()) {
> Entry e = cursor.get();
> log.info("element: {}", e.get("sAMAccountName"));
> results.add(e);
> }
> SearchResultDone searchResult = cursor.getSearchResultDone();
> pagedSearchControl = 
> (PagedResults)searchResult.getControl(PagedResults.OID);
> if (searchResult.getLdapResult().getResultCode() == 
> ResultCodeEnum.UNWILLING_TO_PERFORM) {
> throw new LdapException("Directory cannot handle 
> pagination!");
> }
> } catch (CursorException e) {
> log.error("Unexpected cursor exception occurred!", e);
> }
> // Check if pagination is exhausted (all eligible entries have been 
> read)
> if (Strings.isEmpty(pagedSearchControl.getCookie())) {
> log.info("Exiting paged search at page: " + ++page);
> break;
> }
> // Prepare the next iteration
> pagedSearchControl.setSize(pageSize);
> }
> // here we want to do s.th. with our 'results' reference;
> } catch (LdapException e) {
> log.error("Unexpected ldap exception occurred!", e);
> } catch (IOException e) {
> log.error("Unexpected I/O exception occurred!", e);
> } finally {
> if (connection != null) {
>  ldapConnectionPool.releaseConnection(connection); // put the 
> session/connection back to its pool
> }
> } {code}
>  
> *Expected behaviour:*
> all elements in the base are picked up in the 'results' list, all paginated 
> and 

[jira] [Commented] (DIRAPI-399) Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) picked up

2024-03-04 Thread Jira


[ 
https://issues.apache.org/jira/browse/DIRAPI-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17823161#comment-17823161
 ] 

Emmanuel Lécharny commented on DIRAPI-399:
--

Thanks for the clarification.

Could you be kind enough to build a unit test, or a standalone test with some 
data for me to debug the code and see if there is some issue in the LDAP API?

Many thanks!

> Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) 
> picked up
> --
>
> Key: DIRAPI-399
> URL: https://issues.apache.org/jira/browse/DIRAPI-399
> Project: Directory Client API
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Thomas Jodes
>Priority: Major
> Attachments: Screenshot from 2024-03-01 15-47-26.png, Screenshot from 
> 2024-03-01 15-48-52.png
>
>
> As a ldap-api user, I want to search my DIT paginated from a base where also 
> referrals / 
> [SearchResultReference|https://github.com/apache/directory-ldap-api/blob/c4fcf46f72601c1729d6d5321e2cdc7126f94b14/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultReferenceImpl.java#L28]s
>  are.
> Following paged search code:
>  
> {code:java}
> int pageSize = 100;
> LdapConnection connection = null;
> try {
> connection = ldapConnectionPool.getConnection();  
> int page = 0; // the current page
> PagedResults pagedSearchControl = new PagedResultsImpl();  
> pagedSearchControl.setSize(pageSize);
> // Loop using the paged search control extension
> while(true) {
> SearchRequest searchRequest = new SearchRequestImpl()
> .ignoreReferrals() 
> .setDerefAliases(AliasDerefMode.NEVER_DEREF_ALIASES)
> .setBase(new Dn(searchBase))
> .setFilter(filter)
> .setScope(SearchScope.SUBTREE)
> .addAttributes(attributes)
> .setTimeLimit(120)
> .addControl(pagedSearchControl);
> SearchCursorImpl searchCursor = (SearchCursorImpl)
> connection.search(searchRequest);
> try (EntryCursor cursor = new EntryCursorImpl(searchCursor)) {
> while (cursor.next()) {
> Entry e = cursor.get();
> log.info("element: {}", e.get("sAMAccountName"));
> results.add(e);
> }
> SearchResultDone searchResult = cursor.getSearchResultDone();
> pagedSearchControl = 
> (PagedResults)searchResult.getControl(PagedResults.OID);
> if (searchResult.getLdapResult().getResultCode() == 
> ResultCodeEnum.UNWILLING_TO_PERFORM) {
> throw new LdapException("Directory cannot handle 
> pagination!");
> }
> } catch (CursorException e) {
> log.error("Unexpected cursor exception occurred!", e);
> }
> // Check if pagination is exhausted (all eligible entries have been 
> read)
> if (Strings.isEmpty(pagedSearchControl.getCookie())) {
> log.info("Exiting paged search at page: " + ++page);
> break;
> }
> // Prepare the next iteration
> pagedSearchControl.setSize(pageSize);
> }
> // here we want to do s.th. with our 'results' reference;
> } catch (LdapException e) {
> log.error("Unexpected ldap exception occurred!", e);
> } catch (IOException e) {
> log.error("Unexpected I/O exception occurred!", e);
> } finally {
> if (connection != null) {
>  ldapConnectionPool.releaseConnection(connection); // put the 
> session/connection back to its pool
> }
> } {code}
>  
> *Expected behaviour:*
> all elements in the base are picked up in the 'results' list, all paginated 
> and added up by x times a bunch of 100 until everything has been read in the 
> directory. In the searchFuture at LdapNetworkConnection.searchAsync should be 
> 101 elements:  100 SearchResultEntryImpl's and one SearchResultDoneImpl.
>  
> *Actual behaviour:*
> in the first page there are 100 entries, i.e. 100x SearchResultEntryImpl 
> elements PLUS (in my case/active directory) 3x SearchResultReferenceImpl 
> elements plus 1x SerachResultDoneImpl element as the last one in the array of 
> the searchFuture here:[ 
> LdapNetworkConnection#searchAsync()|https://github.com/apache/directory-ldap-api/blob/c4fcf46f72601c1729d6d5321e2cdc7126f94b14/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java#L2391]
>  .
> ldap-api code runs into exception at EntryCursorImpl.get() when the response 
> instanceof [SearchResultReference is 
> 

[PR] Bump actions/setup-java from 4.0.0 to 4.1.0 [directory-kerby]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #343:
URL: https://github.com/apache/directory-kerby/pull/343

   Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.0.0 
to 4.1.0.
   
   Release notes
   Sourced from https://github.com/actions/setup-java/releases;>actions/setup-java's 
releases.
   
   V4.1.0
   What's Changed
   
   Added Windows Arm64 Support for Windows Arm64 Runners by https://github.com/mahabaleshwars;>@​mahabaleshwars in 
https://redirect.github.com/actions/setup-java/pull/595;>actions/setup-java#595
   feat: bump actions/checkout and actions/setup-java to v4 by https://github.com/kbdharun;>@​kbdharun in https://redirect.github.com/actions/setup-java/pull/533;>actions/setup-java#533
   Handle authorization when the token is undefined by https://github.com/peter-murray;>@​peter-murray in https://redirect.github.com/actions/setup-java/pull/556;>actions/setup-java#556
   Documentation update of Java 21 by https://github.com/Okeanos;>@​Okeanos in https://redirect.github.com/actions/setup-java/pull/566;>actions/setup-java#566
   Documentation update about maven-gpg-plugin version note by https://github.com/IvanZosimov;>@​IvanZosimov in https://redirect.github.com/actions/setup-java/pull/570;>actions/setup-java#570
   Oracle JDK 21 support by https://github.com/jdubois;>@​jdubois in https://redirect.github.com/actions/setup-java/pull/538;>actions/setup-java#538
   Fix typo in configuration example by https://github.com/Bananeweizen;>@​Bananeweizen in https://redirect.github.com/actions/setup-java/pull/572;>actions/setup-java#572
   
   New Contributors
   
   https://github.com/kbdharun;>@​kbdharun made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/533;>actions/setup-java#533
   https://github.com/peter-murray;>@​peter-murray made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/556;>actions/setup-java#556
   https://github.com/jdubois;>@​jdubois made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/538;>actions/setup-java#538
   https://github.com/Bananeweizen;>@​Bananeweizen made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/572;>actions/setup-java#572
   https://github.com/mahabaleshwars;>@​mahabaleshwars made 
their first contribution in https://redirect.github.com/actions/setup-java/pull/595;>actions/setup-java#595
   
   Full Changelog: https://github.com/actions/setup-java/compare/v4...v4.1.0;>https://github.com/actions/setup-java/compare/v4...v4.1.0
   
   
   
   Commits
   
   https://github.com/actions/setup-java/commit/9704b39bf258b59bc04b50fa2dd55e9ed76b47a8;>9704b39
 Added Windows Arm64 Support for Windows Arm64 Runners (https://redirect.github.com/actions/setup-java/issues/595;>#595)
   https://github.com/actions/setup-java/commit/7a445ee88d4e23b52c33fdc7601e40278616c7f8;>7a445ee
 Fix typo in configuration example (https://redirect.github.com/actions/setup-java/issues/572;>#572)
   https://github.com/actions/setup-java/commit/3232623d9c428cc5f228a01a2ae8d2d70f79775e;>3232623
 Oracle JDK 21 support (https://redirect.github.com/actions/setup-java/issues/538;>#538)
   https://github.com/actions/setup-java/commit/c0660d8edc6bc867c9d061fe281338039e3e0092;>c0660d8
 docs: add note about maven-gpg-plugin version (https://redirect.github.com/actions/setup-java/issues/570;>#570)
   https://github.com/actions/setup-java/commit/2f7af1b9c5646dcf9105b2004b0c5d8f68026bad;>2f7af1b
 make it clear that Java 21 is supported (https://redirect.github.com/actions/setup-java/issues/566;>#566)
   https://github.com/actions/setup-java/commit/16ef37f8dd292a31055a9ee0d26fa0a4efab58de;>16ef37f
 HTTP errors when the token is undefined (https://redirect.github.com/actions/setup-java/issues/556;>#556)
   https://github.com/actions/setup-java/commit/a2374547dfdd276b7bd9e4ba2c6ba50647d9c8a7;>a237454
 feat: bump actions/checkout and actions/setup-java to v4 (https://redirect.github.com/actions/setup-java/issues/533;>#533)
   See full diff in https://github.com/actions/setup-java/compare/387ac29b308b003ca37ba93a6cab5eb57c8f5f93...9704b39bf258b59bc04b50fa2dd55e9ed76b47a8;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java=github_actions=4.0.0=4.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will 

[PR] Bump github/codeql-action from 3.24.5 to 3.24.6 [directory-kerby]

2024-03-04 Thread via GitHub


dependabot[bot] opened a new pull request, #342:
URL: https://github.com/apache/directory-kerby/pull/342

   Bumps [github/codeql-action](https://github.com/github/codeql-action) from 
3.24.5 to 3.24.6.
   
   Changelog
   Sourced from https://github.com/github/codeql-action/blob/main/CHANGELOG.md;>github/codeql-action's
 changelog.
   
   CodeQL Action Changelog
   See the https://github.com/github/codeql-action/releases;>releases page for 
the relevant changes to the CodeQL CLI and language packs.
   Note that the only difference between v2 and v3 
of the CodeQL Action is the node version they support, with v3 
running on node 20 while we continue to release v2 to support 
running on node 16. For example 3.22.11 was the first 
v3 release and is functionally identical to 2.22.11. 
This approach ensures an easy way to track exactly which features are included 
in different versions, indicated by the minor and patch version numbers.
   [UNRELEASED]
   No user facing changes.
   3.24.6 - 29 Feb 2024
   No user facing changes.
   3.24.5 - 23 Feb 2024
   
   Update default CodeQL bundle version to 2.16.3. https://redirect.github.com/github/codeql-action/pull/2156;>#2156
   
   3.24.4 - 21 Feb 2024
   
   Fix an issue where an existing, but empty, 
/sys/fs/cgroup/cpuset.cpus file always resulted in a 
single-threaded run. https://redirect.github.com/github/codeql-action/pull/2151;>#2151
   
   3.24.3 - 15 Feb 2024
   
   Fix an issue where the CodeQL Action would fail to load a configuration 
specified by the config input to the init Action. https://redirect.github.com/github/codeql-action/pull/2147;>#2147
   
   3.24.2 - 15 Feb 2024
   
   Enable improved multi-threaded performance on larger runners for GitHub 
Enterprise Server users. This feature is already available to GitHub.com users. 
https://redirect.github.com/github/codeql-action/pull/2141;>#2141
   
   3.24.1 - 13 Feb 2024
   
   Update default CodeQL bundle version to 2.16.2. https://redirect.github.com/github/codeql-action/pull/2124;>#2124
   The CodeQL action no longer fails if it can't write to the telemetry api 
endpoint. https://redirect.github.com/github/codeql-action/pull/2121;>#2121
   
   3.24.0 - 02 Feb 2024
   
   CodeQL Python analysis will no longer install dependencies on GitHub 
Enterprise Server, as is already the case for GitHub.com. See https://github.com/github/codeql-action/blob/main/#3230---08-jan-2024;>release
 notes for 3.23.0 for more details. https://redirect.github.com/github/codeql-action/pull/2106;>#2106
   
   3.23.2 - 26 Jan 2024
   
   On Linux, the maximum possible value for the --threads 
option now respects the CPU count as specified in cgroup files to 
more accurately reflect the number of available cores when running in 
containers. https://redirect.github.com/github/codeql-action/pull/2083;>#2083
   Update default CodeQL bundle version to 2.16.1. https://redirect.github.com/github/codeql-action/pull/2096;>#2096
   
   3.23.1 - 17 Jan 2024
   
   Update default CodeQL bundle version to 2.16.0. https://redirect.github.com/github/codeql-action/pull/2073;>#2073
   Change the retention period for uploaded debug artifacts to 7 days. 
Previously, this was whatever the repository default was. https://redirect.github.com/github/codeql-action/pull/2079;>#2079
   
   3.23.0 - 08 Jan 2024
   
   
   ... (truncated)
   
   
   Commits
   
   https://github.com/github/codeql-action/commit/8a470fddafa5cbb6266ee11b37ef4d8aae19c571;>8a470fd
 Merge pull request https://redirect.github.com/github/codeql-action/issues/2176;>#2176 
from github/update-v3.24.6-158d0780d
   https://github.com/github/codeql-action/commit/d59eafb69b1bbf6ebc4592895da945a4cc588806;>d59eafb
 Update changelog for v3.24.6
   https://github.com/github/codeql-action/commit/158d0780dc10ed5108b9fb567ea80a54c245dd67;>158d078
 Merge pull request https://redirect.github.com/github/codeql-action/issues/2175;>#2175 
from github/henrymercer/fix-languages-init-success
   https://github.com/github/codeql-action/commit/2307ff547f1c8a003d306eede350ccff46e0e65d;>2307ff5
 Add languages and build_mode to init 
success status report
   https://github.com/github/codeql-action/commit/ccd3f0254505d3abf6b996df24b8cc9a0d77c98f;>ccd3f02
 Merge pull request https://redirect.github.com/github/codeql-action/issues/2173;>#2173 
from github/henrymercer/mark-third-party-limits-erro...
   https://github.com/github/codeql-action/commit/c0917251d4d0392e762284c11e2c9c1b82195af1;>c091725
 Refactoring: Convert ActionName to enum
   https://github.com/github/codeql-action/commit/e12a8cc5eb90431cfed6096ac78c48448b5cf331;>e12a8cc
 Use isFirstPartyAnalysis for a stronger check
   https://github.com/github/codeql-action/commit/888ab31e3edfe95e943195e117426658cc6a3802;>888ab31
 Mark third-party SARIF limits errors as configuration errors
   https://github.com/github/codeql-action/commit/bd56a05133734527a524799b550f71febf4597b9;>bd56a05
 Rename InvalidRequestError to 
InvalidSarifUploadError
   

[jira] [Commented] (DIRAPI-399) Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) picked up

2024-03-04 Thread Thomas Jodes (Jira)


[ 
https://issues.apache.org/jira/browse/DIRAPI-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17823128#comment-17823128
 ] 

Thomas Jodes commented on DIRAPI-399:
-

Edit: I switched paged search as seen above not to use the EntryCursorImpl, but 
to use [SearchCursor like 
here|[http://example.com|https://directory.apache.org/api/user-guide/2.3-searching.html]].
 Just to work with the SearchCursor and to use the cast to SearchResultEntry.

Interestingly, not a single SearchResultReference comes up, so referals absent 
here. When wrapping the searchResult in the EntryCursorImpl (EntryCursor cursor 
= new EntryCursorImpl(searchCursor)), the references are in the first page 
results.

> Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) 
> picked up
> --
>
> Key: DIRAPI-399
> URL: https://issues.apache.org/jira/browse/DIRAPI-399
> Project: Directory Client API
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Thomas Jodes
>Priority: Major
> Attachments: Screenshot from 2024-03-01 15-47-26.png, Screenshot from 
> 2024-03-01 15-48-52.png
>
>
> As a ldap-api user, I want to search my DIT paginated from a base where also 
> referrals / 
> [SearchResultReference|https://github.com/apache/directory-ldap-api/blob/c4fcf46f72601c1729d6d5321e2cdc7126f94b14/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultReferenceImpl.java#L28]s
>  are.
> Following paged search code:
>  
> {code:java}
> int pageSize = 100;
> LdapConnection connection = null;
> try {
> connection = ldapConnectionPool.getConnection();  
> int page = 0; // the current page
> PagedResults pagedSearchControl = new PagedResultsImpl();  
> pagedSearchControl.setSize(pageSize);
> // Loop using the paged search control extension
> while(true) {
> SearchRequest searchRequest = new SearchRequestImpl()
> .ignoreReferrals() 
> .setDerefAliases(AliasDerefMode.NEVER_DEREF_ALIASES)
> .setBase(new Dn(searchBase))
> .setFilter(filter)
> .setScope(SearchScope.SUBTREE)
> .addAttributes(attributes)
> .setTimeLimit(120)
> .addControl(pagedSearchControl);
> SearchCursorImpl searchCursor = (SearchCursorImpl)
> connection.search(searchRequest);
> try (EntryCursor cursor = new EntryCursorImpl(searchCursor)) {
> while (cursor.next()) {
> Entry e = cursor.get();
> log.info("element: {}", e.get("sAMAccountName"));
> results.add(e);
> }
> SearchResultDone searchResult = cursor.getSearchResultDone();
> pagedSearchControl = 
> (PagedResults)searchResult.getControl(PagedResults.OID);
> if (searchResult.getLdapResult().getResultCode() == 
> ResultCodeEnum.UNWILLING_TO_PERFORM) {
> throw new LdapException("Directory cannot handle 
> pagination!");
> }
> } catch (CursorException e) {
> log.error("Unexpected cursor exception occurred!", e);
> }
> // Check if pagination is exhausted (all eligible entries have been 
> read)
> if (Strings.isEmpty(pagedSearchControl.getCookie())) {
> log.info("Exiting paged search at page: " + ++page);
> break;
> }
> // Prepare the next iteration
> pagedSearchControl.setSize(pageSize);
> }
> // here we want to do s.th. with our 'results' reference;
> } catch (LdapException e) {
> log.error("Unexpected ldap exception occurred!", e);
> } catch (IOException e) {
> log.error("Unexpected I/O exception occurred!", e);
> } finally {
> if (connection != null) {
>  ldapConnectionPool.releaseConnection(connection); // put the 
> session/connection back to its pool
> }
> } {code}
>  
> *Expected behaviour:*
> all elements in the base are picked up in the 'results' list, all paginated 
> and added up by x times a bunch of 100 until everything has been read in the 
> directory. In the searchFuture at LdapNetworkConnection.searchAsync should be 
> 101 elements:  100 SearchResultEntryImpl's and one SearchResultDoneImpl.
>  
> *Actual behaviour:*
> in the first page there are 100 entries, i.e. 100x SearchResultEntryImpl 
> elements PLUS (in my case/active directory) 3x SearchResultReferenceImpl 
> elements plus 1x SerachResultDoneImpl element as the last one in the array of 
> the searchFuture here:[ 
> 

[jira] [Commented] (DIRAPI-399) Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) picked up

2024-03-04 Thread Thomas Jodes (Jira)


[ 
https://issues.apache.org/jira/browse/DIRAPI-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17823119#comment-17823119
 ] 

Thomas Jodes commented on DIRAPI-399:
-

Hi,

that's a clue if that Active Directory server does not seem to respect the 
IgnoreReferals flag - however using the search in the ApacheDirectory Studio, 
the three referal nodes will vanish in the DIT...

That is, up to this the question at stake is, if the ignore referals flag is 
ignored using the DIRAPI as seen above (bug? because Apache Studio filters them 
away when saying per radio button "ignore refereals"+ checkbox "paged search") 
- or is it as simple as that that the code shown above is simply used wrong? 
(unfortunately there aren't resources in the ldap-api website regading paged 
seach+ignore referals).

Yours sincerly,

Thomas

 

> Cannot paginate SearchCursor via SearchRequest when SearchResultReference(s) 
> picked up
> --
>
> Key: DIRAPI-399
> URL: https://issues.apache.org/jira/browse/DIRAPI-399
> Project: Directory Client API
>  Issue Type: Bug
>Affects Versions: 2.1.6
>Reporter: Thomas Jodes
>Priority: Major
> Attachments: Screenshot from 2024-03-01 15-47-26.png, Screenshot from 
> 2024-03-01 15-48-52.png
>
>
> As a ldap-api user, I want to search my DIT paginated from a base where also 
> referrals / 
> [SearchResultReference|https://github.com/apache/directory-ldap-api/blob/c4fcf46f72601c1729d6d5321e2cdc7126f94b14/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultReferenceImpl.java#L28]s
>  are.
> Following paged search code:
>  
> {code:java}
> int pageSize = 100;
> LdapConnection connection = null;
> try {
> connection = ldapConnectionPool.getConnection();  
> int page = 0; // the current page
> PagedResults pagedSearchControl = new PagedResultsImpl();  
> pagedSearchControl.setSize(pageSize);
> // Loop using the paged search control extension
> while(true) {
> SearchRequest searchRequest = new SearchRequestImpl()
> .ignoreReferrals() 
> .setDerefAliases(AliasDerefMode.NEVER_DEREF_ALIASES)
> .setBase(new Dn(searchBase))
> .setFilter(filter)
> .setScope(SearchScope.SUBTREE)
> .addAttributes(attributes)
> .setTimeLimit(120)
> .addControl(pagedSearchControl);
> SearchCursorImpl searchCursor = (SearchCursorImpl)
> connection.search(searchRequest);
> try (EntryCursor cursor = new EntryCursorImpl(searchCursor)) {
> while (cursor.next()) {
> Entry e = cursor.get();
> log.info("element: {}", e.get("sAMAccountName"));
> results.add(e);
> }
> SearchResultDone searchResult = cursor.getSearchResultDone();
> pagedSearchControl = 
> (PagedResults)searchResult.getControl(PagedResults.OID);
> if (searchResult.getLdapResult().getResultCode() == 
> ResultCodeEnum.UNWILLING_TO_PERFORM) {
> throw new LdapException("Directory cannot handle 
> pagination!");
> }
> } catch (CursorException e) {
> log.error("Unexpected cursor exception occurred!", e);
> }
> // Check if pagination is exhausted (all eligible entries have been 
> read)
> if (Strings.isEmpty(pagedSearchControl.getCookie())) {
> log.info("Exiting paged search at page: " + ++page);
> break;
> }
> // Prepare the next iteration
> pagedSearchControl.setSize(pageSize);
> }
> // here we want to do s.th. with our 'results' reference;
> } catch (LdapException e) {
> log.error("Unexpected ldap exception occurred!", e);
> } catch (IOException e) {
> log.error("Unexpected I/O exception occurred!", e);
> } finally {
> if (connection != null) {
>  ldapConnectionPool.releaseConnection(connection); // put the 
> session/connection back to its pool
> }
> } {code}
>  
> *Expected behaviour:*
> all elements in the base are picked up in the 'results' list, all paginated 
> and added up by x times a bunch of 100 until everything has been read in the 
> directory. In the searchFuture at LdapNetworkConnection.searchAsync should be 
> 101 elements:  100 SearchResultEntryImpl's and one SearchResultDoneImpl.
>  
> *Actual behaviour:*
> in the first page there are 100 entries, i.e. 100x SearchResultEntryImpl 
> elements PLUS (in my case/active directory) 3x SearchResultReferenceImpl 
> elements plus 1x SerachResultDoneImpl