[java-idp-oidc] branch main updated: JOIDC-18 - Work out better mechanism for overriding issuer in profiles

Scott Cantor cantor.2 at osu.edu
Fri Mar 19 13:33:45 UTC 2021


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

scantor 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=13646c3e6b3378829eae64cc1a6ac19739007c1e

The following commit(s) were added to refs/heads/main by this push:
       new  13646c3e  JOIDC-18 - Work out better mechanism for overriding issuer in profiles
13646c3e is described below

commit 13646c3e6b3378829eae64cc1a6ac19739007c1e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Mar 19 09:33:43 2021 -0400

    JOIDC-18 - Work out better mechanism for overriding issuer in profiles
    
    https://issues.shibboleth.net/jira/browse/JOIDC-18
    
    Missed commit on previous checkin, fix relying-party wiring.
---
 .../META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml  | 4 ++++
 1 file changed, 4 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 e0b722b7..077065f3 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
@@ -35,6 +35,7 @@
         
     <bean id="OIDC.UserInfo" parent="AbstractOIDCProfile" lazy-init="true"
         class="net.shibboleth.idp.plugin.oidc.op.config.OIDCUserInfoConfiguration"
+        p:issuer-ref="issuer"
         p:deniedUserInfoAttributes="%{idp.oidc.deniedUserInfoAttributes:}" />
         
     <bean id="OIDC.Registration" parent="AbstractOIDCProfile" lazy-init="true"
@@ -228,6 +229,9 @@
     
     <bean id="OIDC.UserInfo.MDDriven" parent="AbstractMDDrivenOIDCProfile" lazy-init="true"
             class="net.shibboleth.idp.plugin.oidc.op.config.OIDCUserInfoConfiguration">
+        <property name="issuerLookupStrategy">
+            <bean parent="shibboleth.MDDrivenStringProperty" p:propertyName="issuer" p:defaultValue-ref="issuer" />
+        </property>
         <property name="deniedUserInfoAttributesLookupStrategy">
             <bean parent="shibboleth.MDDrivenSetProperty" p:propertyName="deniedUserInfoAttributes">
                 <property name="defaultValue">

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


More information about the commits mailing list