[java-idp-oidc] 04/35: Updated the scope of authorization/authentication request parameter lookup beans.

Henri Mikkonen henri.mikkonen at iki.fi
Thu Oct 24 14:01:29 UTC 2024


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

hjmikkon pushed a commit to branch dev/JOIDC-222
in repository java-idp-oidc.

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

commit 0b16b2379694b05db595447600bebb50b3e8e69e
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Sep 11 16:16:52 2024 +0300

    Updated the scope of authorization/authentication request parameter lookup beans.
    
    The code is not thread-safe as the access to requestObject (if exists) is via class variable.
---
 .../net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml
index 5d39bf5e..9acaba3c 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml
@@ -40,7 +40,8 @@
         p:loginHintLookupStrategy-ref="%{idp.oidc.LoginHintLookupStrategy:DefaultRequestLoginHintLookupFunction}"/>
 
     <bean id="DefaultRequestLoginHintLookupFunction"
-        class="net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestLoginHintLookupFunction" />
+        class="net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestLoginHintLookupFunction"
+        scope="prototype" />
 
     <bean id="ProcessRequestedAuthnContext"
         class="net.shibboleth.idp.plugin.oidc.op.profile.impl.ProcessRequestedAuthnContext" scope="prototype" />
@@ -420,7 +421,7 @@
         p:allowedAudienceLookupStrategy="#{getObject('shibboleth.oidc.AllowedAudienceStrategy') ?: getObject('shibboleth.oidc.DefaultAllowedAudienceStrategy')}" />
 
     <bean id="AuthenticationRequestAudienceLookupStrategy"
-        class="net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestAudienceLookupFunction" />
+        class="net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestAudienceLookupFunction" scope="prototype" />
 
     <bean id="PopulateClientStorageLoadContext"
         class="org.opensaml.storage.impl.client.PopulateClientStorageLoadContext" scope="prototype"
@@ -1029,7 +1030,7 @@
     <bean id="MapEventToView" class="net.shibboleth.idp.profile.context.navigate.SpringEventToViewLookupFunction"
         p:defaultView-ref="shibboleth.DefaultErrorView" p:eventMap="#{getObject('shibboleth.EventViewMap')}" />
 
-    <bean id="RequestResponseTypeLookupFunction"
+    <bean id="RequestResponseTypeLookupFunction" scope="prototype"
         class="net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestResponseTypeLookupFunction"/>
 
     <bean id="IDTokenRequested" parent="shibboleth.Conditions.Expression" p:customObject-ref="RequestResponseTypeLookupFunction">

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


More information about the commits mailing list