[java-idp-oidc] branch main updated: JOIDC-197 - Allowed ResponseModes should be configurable

Henri Mikkonen henri.mikkonen at iki.fi
Tue Mar 19 13:54:07 UTC 2024


This is an automated email from the git hooks/post-receive script.

hjmikkon pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=4e69a7f2927946b5ab6691f565588b51b7a65a33

The following commit(s) were added to refs/heads/main by this push:
     new 4e69a7f2 JOIDC-197 - Allowed ResponseModes should be configurable
4e69a7f2 is described below

commit 4e69a7f2927946b5ab6691f565588b51b7a65a33
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Tue Mar 19 15:53:28 2024 +0200

    JOIDC-197 - Allowed ResponseModes should be configurable
    
    https://shibboleth.atlassian.net/browse/JOIDC-197
    
    Wired the property to OIDC.SSO.MDDriven
---
 .../net/shibboleth/idp/service/relying-party/postconfig.xml    | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
index 784eb2af..c5a1c038 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
@@ -337,6 +337,16 @@
                 <constructor-arg value="%{idp.oidc.requestobject.used:false}" />
             </bean>
         </property>
+        <property name="responseModesLookupStrategy">
+            <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="responseModes">
+                <property name="defaultValue">
+                    <bean parent="shibboleth.CommaDelimStringArray">
+                        <constructor-arg type="java.lang.String"
+                            value="%{idp.oauth2.responseModes:}" />
+                    </bean>
+                </property>
+            </bean>
+        </property>
     </bean>
     
     <bean id="OIDC.UserInfo.MDDriven" parent="AbstractMDDrivenOIDCProfile" lazy-init="true"

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


More information about the commits mailing list