[java-oidfed-common] 01/03: Harmonise setting of verified trust marks and their IDs on trust chain context

Codeberg noreply at shibboleth.net
Thu Sep 24 07:34:36 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/8e0c7a993a6d386a4a77fc7a7789974a66ecafdb

commit 8e0c7a993a6d386a4a77fc7a7789974a66ecafdb
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu Sep 24 10:28:37 2026 +0300

    Harmonise setting of verified trust marks and their IDs on trust chain context
    
    - Similarly to ResolveTrustMarks, also CallResolveEntityApi should populate them as modifiable
---
 .../java/net/shibboleth/oidfed/profile/impl/CallResolveEntityApi.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/impl/CallResolveEntityApi.java b/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/impl/CallResolveEntityApi.java
index 86d3663..d31819b 100644
--- a/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/impl/CallResolveEntityApi.java
+++ b/oidfed-common-impl/src/main/java/net/shibboleth/oidfed/profile/impl/CallResolveEntityApi.java
@@ -480,7 +480,7 @@ public class CallResolveEntityApi extends AbstractProfileAction {
                     for (final String entity : chain.stream().map(entity -> entity.getSubject()).toList()) {
                         final List<TrustMark> trustMarksForEntity = trustMarks.stream()
                                 .filter(trustMark -> entity.equals(trustMark.getParsedPayload().getSubject()))
-                                .toList();
+                                .collect(Collectors.toList());
                         if (!trustMarksForEntity.isEmpty()) {
                             trustMarksByEntity.put(entity, trustMarksForEntity);
                         }
@@ -490,7 +490,7 @@ public class CallResolveEntityApi extends AbstractProfileAction {
                         final Map<String, List<String>> trustMarkIds = trustMarksByEntity.entrySet().stream()
                                 .collect(Collectors.toMap(entry -> entry.getKey(), entry -> entry.getValue().stream()
                                         .map(trustMark -> trustMark.getParsedPayload().getTrustMarkType())
-                                        .toList()));
+                                        .collect(Collectors.toList())));
                         log.debug("{} The following trust marks are included: {}", getLogPrefix(), trustMarkIds);
                         trustChainContext.setVerifiedTrustMarkIds(trustMarkIds);
                         

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


More information about the commits mailing list