[java-oidfed-common] branch main updated: Ignore empty trust_anchor_hints from the entity configuration.

Codeberg noreply at shibboleth.net
Wed Sep 9 09:58:37 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-oidfed-common.

View the commit online:
https://codeberg.org/Shibboleth/java-oidfed-common/commit/3a132b483e68297fc45b21eec1b243c1fbc1733b

The following commit(s) were added to refs/heads/main by this push:
     new 3a132b4  Ignore empty trust_anchor_hints from the entity configuration.
3a132b4 is described below

commit 3a132b483e68297fc45b21eec1b243c1fbc1733b
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Sep 9 12:58:26 2026 +0300

    Ignore empty trust_anchor_hints from the entity configuration.
---
 .../oidfed/profile/navigate/DefaultTrustAnchorHintsLookupStrategy.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/navigate/DefaultTrustAnchorHintsLookupStrategy.java b/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/navigate/DefaultTrustAnchorHintsLookupStrategy.java
index a72bd62..2a55502 100644
--- a/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/navigate/DefaultTrustAnchorHintsLookupStrategy.java
+++ b/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/navigate/DefaultTrustAnchorHintsLookupStrategy.java
@@ -80,7 +80,7 @@ public class DefaultTrustAnchorHintsLookupStrategy extends AbstractIdentifiableI
             log.warn("Could not resolve any trust anchors", e);
             return null;
         }
-        if (keyContainers.isEmpty()) {
+        if (keyContainers.isEmpty() || keyContainers.get(0).isEmpty()) {
             log.debug("No keycontainers returned from the trust anchor cache");
             return null;
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list