[java-plugin-shibd] branch main updated: Switch predicate map to LinkedHashMap to maintain order.
Codeberg
noreply at shibboleth.net
Tue Aug 18 17:22:47 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-plugin-shibd.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/b6e4cb19cf27142b5b43016f8bcb1f53c4ad8110
The following commit(s) were added to refs/heads/main by this push:
new b6e4cb1 Switch predicate map to LinkedHashMap to maintain order.
b6e4cb1 is described below
commit b6e4cb19cf27142b5b43016f8bcb1f53c4ad8110
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Aug 18 13:22:36 2026 -0400
Switch predicate map to LinkedHashMap to maintain order.
---
.../net/shibboleth/sp/credential/impl/StaticMapCredentialResolver.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/credential/impl/StaticMapCredentialResolver.java b/sp-server-impl/src/main/java/net/shibboleth/sp/credential/impl/StaticMapCredentialResolver.java
index 4129d72..509190b 100644
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/credential/impl/StaticMapCredentialResolver.java
+++ b/sp-server-impl/src/main/java/net/shibboleth/sp/credential/impl/StaticMapCredentialResolver.java
@@ -16,6 +16,7 @@ package net.shibboleth.sp.credential.impl;
import java.util.ArrayList;
import java.util.HashMap;
+import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Predicate;
@@ -146,7 +147,7 @@ public class StaticMapCredentialResolver extends AbstractOrderedCredentialResolv
checkSetterPreconditions();
if (map != null) {
- predicateCredentialMap = CollectionSupport.copyToMap(map);
+ predicateCredentialMap = new LinkedHashMap<>(map);
} else {
predicateCredentialMap = CollectionSupport.emptyMap();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list