[java-idp-oidc] branch main updated: JOIDC-258 - Move generic parts of the dynamic registration flow into an abstract flow

Codeberg noreply at shibboleth.net
Thu Nov 26 08:09:41 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-oidc.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-oidc/commit/5cd8d472d532f4b2b5167f89436a96ef2d9138d2

The following commit(s) were added to refs/heads/main by this push:
     new 5cd8d472 JOIDC-258 - Move generic parts of the dynamic registration flow into an abstract flow
5cd8d472 is described below

commit 5cd8d472d532f4b2b5167f89436a96ef2d9138d2
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu Nov 26 10:05:05 2026 +0200

    JOIDC-258 - Move generic parts of the dynamic registration flow into an abstract flow
    
    https://shibboleth.atlassian.net/browse/JOIDC-258
    
    Move AddScopeToClientMetadata and BuildClientInformation beans out from the abstract beans
    - Facilitate easier per-feature definitions
    - Include in the register-beans for OIDC dynamic client registration
---
 .../oidc/abstract-register/oidc-abstract-register-beans.xml    | 10 ----------
 .../net/shibboleth/idp/flows/oidc/register/register-beans.xml  | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/abstract-register/oidc-abstract-register-beans.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/abstract-register/oidc-abstract-register-beans.xml
index 79e1bf12..4a332ce1 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/abstract-register/oidc-abstract-register-beans.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/abstract-register/oidc-abstract-register-beans.xml
@@ -34,12 +34,6 @@
         scope="prototype"
         p:oidcInputMetadataLookupStrategy-ref="shibboleth.oidc.InputMetadataLookupStrategy"/>
 
-    <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" />
-
     <bean id="AddContactsToClientMetadata"
         class="net.shibboleth.idp.plugin.oidc.op.profile.impl.AddContactsToClientMetadata"
         scope="prototype"
@@ -107,10 +101,6 @@
         scope="prototype"
         p:oidcInputMetadataLookupStrategy-ref="shibboleth.oidc.InputMetadataLookupStrategy"/>
 
-    <bean id="BuildClientInformation"
-        class="net.shibboleth.idp.plugin.oidc.op.profile.impl.BuildClientInformation"
-        scope="prototype" />
-
     <bean id="oidc.messageEncoderFactory"
         class="net.shibboleth.oidc.profile.encoding.impl.OIDCResponseEncoderFactory"
         p:messageEncoder-ref="oidc.nimbusEncoder" scope="prototype" />
diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml
index 3085ad53..8840e495 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml
@@ -111,6 +111,16 @@
         p:xmlSafeIdentifier="%{idp.oidc.xmlSafeIdentifiers:true}"
         p:identifierGeneratorLookupStrategy="#{getObject('shibboleth.oidc.dynreg.ClientSecretGenerationStrategy') ?: getObject('shibboleth.oidc.DefaultIdentifierGenerationStrategy')}"/>
 
+    <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" />
+
+    <bean id="BuildClientInformation"
+        class="net.shibboleth.idp.plugin.oidc.op.profile.impl.BuildClientInformation"
+        scope="prototype" />
+
     <bean id="shibboleth.oidc.InputMetadataLookupStrategy"
         class="net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.OIDCPolicyEnforcedClientRegistrationRequestMetadataLookupFunction" />
 

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


More information about the commits mailing list