[java-idp-plugin-oidc-op-oidfed] branch main updated: Exploit FlowDefaultTrustChainMetadataCache for trust chain resolution
Codeberg
noreply at shibboleth.net
Fri Nov 13 11:48:54 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-idp-plugin-oidc-op-oidfed.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-oidc-op-oidfed/commit/d22fdd760bc9d8b75247e2010701f45cbd76b193
The following commit(s) were added to refs/heads/main by this push:
new d22fdd7 Exploit FlowDefaultTrustChainMetadataCache for trust chain resolution
d22fdd7 is described below
commit d22fdd760bc9d8b75247e2010701f45cbd76b193
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Nov 13 13:48:34 2026 +0200
Exploit FlowDefaultTrustChainMetadataCache for trust chain resolution
- Similar pattern to metadata policy merging strategies and enforcers
- idp.oidfed.op.automaticRegistration.TrustChainMetadataCache (for trust marks: idp.oidfed.op.automaticRegistration.TrustMarkTrustChainMetadataCache)
- idp.oidfed.op.explicitRegistration.TrustChainMetadataCache (for trust marks: idp.oidfed.op.explicitRegistration.TrustMarkTrustChainMetadataCache)
---
.../metadata-lookup-ext/oidfed/metadata-lookup-ext-oidfed-beans.xml | 5 ++++-
.../net/shibboleth/idp/flows/oidfed/register/register-beans.xml | 5 ++++-
.../idp/plugin/oidc/op/oidfed/conf/oidfed/oidfed-op.properties | 4 +++-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/metadata-lookup-ext/oidfed/metadata-lookup-ext-oidfed-beans.xml b/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/metadata-lookup-ext/oidfed/metadata-lookup-ext-oidfed-beans.xml
index 2460ad9..a453cca 100644
--- a/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/metadata-lookup-ext/oidfed/metadata-lookup-ext-oidfed-beans.xml
+++ b/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/metadata-lookup-ext/oidfed/metadata-lookup-ext-oidfed-beans.xml
@@ -7,6 +7,9 @@
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
default-init-method="initialize" default-destroy-method="destroy">
+ <alias alias="FlowDefaultTrustChainMetadataCache"
+ name="%{idp.oidfed.op.automaticRegistration.TrustChainMetadataCache:shibboleth.oidfed.TrustChainMetadataCache}" />
+
<bean id="shibboleth.oidfed.trust-chain-resolver.EntityIDLookupStrategy"
parent="shibboleth.Functions.Expression"
c:expression="#custom.apply(#input.getInboundMessageContext())?.getValue()">
@@ -243,7 +246,7 @@
</property>
<property name="trustMarkIssuerConfigurationFetchingStrategy">
<bean class="net.shibboleth.oidfed.metadata.cache.trustmark.DefaultTrustMarkIssuerConfigurationFetchingStrategy"
- p:trustChainCache-ref="#{'%{idp.oidfed.op.automaticRegistration.TrustChainMetadataCache:shibboleth.oidfed.TrustChainMetadataCache}'.trim()}"
+ p:trustChainCache-ref="#{'%{idp.oidfed.op.automaticRegistration.TrustMarkTrustChainMetadataCache:shibboleth.oidfed.TrustChainMetadataCache}'.trim()}"
p:entityConfigurationCache-ref="#{'%{idp.oidfed.op.automaticRegistration.EntityConfigurationMetadataCache:shibboleth.oidfed.EntityConfigurationMetadataCache}'.trim()}"
p:localTrustAnchorsCache-ref="#{'%{idp.oidfed.op.automaticRegistration.LocalTrustAnchorsMetadataCache:shibboleth.oidfed.LocalTrustAnchorsMetadataCache}'.trim()}">
<property name="trustEngine">
diff --git a/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidfed/register/register-beans.xml b/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidfed/register/register-beans.xml
index 7594d6d..a3803e7 100644
--- a/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidfed/register/register-beans.xml
+++ b/idp-oidfed-op-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidfed/register/register-beans.xml
@@ -22,6 +22,9 @@
<alias alias="shibboleth.oidfed.trust-chain-resolver.FallbackToLocalResolutionCondition"
name="%{idp.oidfed.op.explicitRegistration.trustchain.resolver.fallbackToLocalCondition:shibboleth.Conditions.TRUE}" />
+ <alias alias="FlowDefaultTrustChainMetadataCache"
+ name="%{idp.oidfed.op.explicitRegistration.TrustChainMetadataCache:FetchThroughTrustChainMetadataCache}" />
+
<bean id="shibboleth.ClientIDLookupStrategy"
class="net.shibboleth.idp.plugin.oidc.op.oidfed.profile.navigate.ExplicitClientRegistrationRequestClientIDLookupFunction" />
@@ -362,7 +365,7 @@
</property>
<property name="trustMarkIssuerConfigurationFetchingStrategy">
<bean class="net.shibboleth.oidfed.metadata.cache.trustmark.DefaultTrustMarkIssuerConfigurationFetchingStrategy"
- p:trustChainCache-ref="#{'%{idp.oidfed.op.explicitRegistration.TrustChainMetadataCache:shibboleth.oidfed.TrustChainMetadataCache}'.trim()}"
+ p:trustChainCache-ref="#{'%{idp.oidfed.op.explicitRegistration.TrustMarkTrustChainMetadataCache:shibboleth.oidfed.TrustChainMetadataCache}'.trim()}"
p:entityConfigurationCache-ref="#{'%{idp.oidfed.op.explicitRegistration.EntityConfigurationMetadataCache:shibboleth.oidfed.EntityConfigurationMetadataCache}'.trim()}"
p:localTrustAnchorsCache-ref="#{'%{idp.oidfed.op.explicitRegistration.LocalTrustAnchorsMetadataCache:shibboleth.oidfed.LocalTrustAnchorsMetadataCache}'.trim()}">
<property name="trustEngine">
diff --git a/idp-oidfed-op-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/oidfed/conf/oidfed/oidfed-op.properties b/idp-oidfed-op-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/oidfed/conf/oidfed/oidfed-op.properties
index 8315d8e..e82f084 100644
--- a/idp-oidfed-op-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/oidfed/conf/oidfed/oidfed-op.properties
+++ b/idp-oidfed-op-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/oidfed/conf/oidfed/oidfed-op.properties
@@ -25,6 +25,7 @@
#idp.oidfed.op.automaticRegistration.MetadataPolicyMergingStrategy = FlowDefaultMetadataPolicyMergingStrategy
#idp.oidfed.op.automaticRegistration.LocalMetadataPolicyStrategy = FlowDefaultLocalMetadataPolicyStrategy
#idp.oidfed.op.automaticRegistration.TrustChainMetadataCache = shibboleth.oidfed.TrustChainMetadataCache
+#idp.oidfed.op.automaticRegistration.TrustMarkTrustChainMetadataCache = shibboleth.oidfed.TrustChainMetadataCache
#idp.oidfed.op.automaticRegistration.TrustMarkStatusMetadataCache = shibboleth.oidfed.TrustMarkStatusMetadataCache
#idp.oidfed.op.automaticRegistration.EntityConfigurationMetadataCache = shibboleth.oidfed.EntityConfigurationMetadataCache
#idp.oidfed.op.automaticRegistration.LocalTrustAnchorsMetadataCache = shibboleth.oidfed.LocalTrustAnchorsMetadataCache
@@ -56,7 +57,8 @@
#idp.oidfed.op.explicitRegistration.MetadataPolicyOperators = shibboleth.oidfed.StandardMetadataPolicyOperators
#idp.oidfed.op.explicitRegistration.MetadataPolicyMergingStrategy = FlowDefaultMetadataPolicyMergingStrategy
#idp.oidfed.op.explicitRegistration.LocalMetadataPolicyStrategy = FlowDefaultLocalMetadataPolicyStrategy
-#idp.oidfed.op.explicitRegistration.TrustChainMetadataCache = shibboleth.oidfed.TrustChainMetadataCache
+#idp.oidfed.op.explicitRegistration.TrustChainMetadataCache = FetchThroughTrustChainMetadataCache
+#idp.oidfed.op.explicitRegistration.TrustMarkTrustChainMetadataCache = shibboleth.oidfed.TrustChainMetadataCache
#idp.oidfed.op.explicitRegistration.TrustMarkStatusMetadataCache = shibboleth.oidfed.TrustMarkStatusMetadataCache
#idp.oidfed.op.explicitRegistration.EntityConfigurationMetadataCache = shibboleth.oidfed.EntityConfigurationMetadataCache
#idp.oidfed.op.explicitRegistration.LocalTrustAnchorsMetadataCache = shibboleth.oidfed.LocalTrustAnchorsMetadataCache
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list