[java-idp-plugin-oidc-op-oidfed] 02/02: Adapt in to the latest changes in OP snapshot

Codeberg noreply at shibboleth.net
Thu Nov 26 08:33:26 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/19d7590c1e292203bc6933e485c20884ef68a4c0

commit 19d7590c1e292203bc6933e485c20884ef68a4c0
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu Nov 26 10:12:40 2026 +0200

    Adapt in to the latest changes in OP snapshot
    
    - TODO: fix the temporary wiring to AddScopeToClientMetadata
---
 .../idp/flows/oidfed/register/register-beans.xml     | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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 3f8f054..aa5253b 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
@@ -475,6 +475,17 @@
             value="#{'%{idp.oidfed.op.explicitRegistration.defaultSubjectType:public}'.trim()}" />
     </bean>
 
+    <bean id="AddScopeToClientMetadata"
+        class="net.shibboleth.idp.plugin.oidc.op.profile.impl.AddScopeToClientMetadata"
+        scope="prototype"
+        p:oidcInputMetadataLookupStrategy-ref="shibboleth.oidc.InputMetadataLookupStrategy"
+        p:defaultScope-ref="shibboleth.oidc.DefaultScope">
+       <property name="oidcRequestMetadataLookupStrategy">
+<!-- TODO temporarity hack fixme: -->
+           <bean parent="shibboleth.Functions.Expression" c:expression="new com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata()"/>
+       </property>
+    </bean>
+
     <bean id="AddJwksToClientMetadata"
         class="net.shibboleth.idp.plugin.oidc.op.profile.impl.AddJwksToClientMetadata"
         scope="prototype"
@@ -483,6 +494,15 @@
         p:oidcInputMetadataLookupStrategy-ref="shibboleth.oidc.InputMetadataLookupStrategy"
         p:validateRemoteJwkSetPredicate-ref="%{idp.oidfed.op.explicitRegistration.validateRemoteJwks:shibboleth.Conditions.TRUE}"/>
 
+    <bean id="BuildClientInformation"
+        class="net.shibboleth.idp.plugin.oidc.op.profile.impl.BuildClientInformation"
+        scope="prototype">
+        <property name="registrationValidityPeriodStrategy">
+            <bean parent="shibboleth.Functions.Expression"
+                c:expression="T(java.time.Duration).between(T(java.time.Instant).now(), #input.ensureInboundMessageContext().ensureSubcontext(T(net.shibboleth.oidfed.profile.context.RelyingPartyTrustChainContext)).getSelectedMetadataExpiration())" />
+        </property>
+    </bean>
+
     <bean id="StoreClientInformation"
             class="net.shibboleth.idp.plugin.oidc.op.profile.impl.StoreClientInformation" scope="prototype"
             p:clientInformationManager-ref="#{'%{idp.oidfed.op.explicitRegistration.clientInformationManager:shibboleth.oidfed.ClientInformationManager}'.trim()}"

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


More information about the commits mailing list