Integrated: 8288895: LdapContext doesn't honor set referrals limit
rmartinc
duke at openjdk.org
Thu Jun 30 09:21:33 UTC 2022
On Thu, 23 Jun 2022 08:20:31 GMT, rmartinc <duke at openjdk.org> wrote:
> Fixes [JDK-8288895](https://bugs.openjdk.org/browse/JDK-8288895).
>
> Any `LimitExceededException` now quits the referral loop.
>
> Added class `ReferralLimitSearchTest`. It is a simple jtreg test which checks that `java.naming.ldap.referral.limit` is really enforced. The dummy ldap server always returns a referral for any search query. If the number of searches exceeds the limit, it throws an `IOException` and the test fails.
>
>
> make test TEST=jtreg:jdk/com/sun/jndi/ldap/ReferralLimitSearchTest.java
This pull request has now been integrated.
Changeset: c3addbb1
Author: rmartinc <rmartinc at redhat.com>
Committer: Aleksei Efimov <aefimov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c3addbb1c01483e10189cc46d8f2378e5b56dcee
Stats: 185 lines in 2 files changed: 177 ins; 2 del; 6 mod
8288895: LdapContext doesn't honor set referrals limit
Reviewed-by: dfuchs, aefimov
-------------
PR: https://git.openjdk.org/jdk/pull/9256
More information about the core-libs-dev
mailing list