[java-identity-provider] 17/19: IDP-1793 Use Suppliers for HttpRequest/Response

Rod Widdowson rdw at steadingsoftware.com
Wed Aug 10 13:17:09 UTC 2022


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

rdw pushed a commit to branch maint-4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d0bcb78880d999bc3f1f365500094cc3d09a87b3

commit d0bcb78880d999bc3f1f365500094cc3d09a87b3
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Aug 10 10:37:00 2022 +0100

    IDP-1793  Use Suppliers for HttpRequest/Response
    
    https://shibboleth.atlassian.net/browse/IDP-1793
    
    Changes for the new revocation flow.
---
 .../resources/net/shibboleth/idp/flows/admin/revocation-beans.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/admin/revocation-beans.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/admin/revocation-beans.xml
index e3396293a..20e44baa2 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/admin/revocation-beans.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/admin/revocation-beans.xml
@@ -22,8 +22,8 @@
 
     <bean id="shibboleth.AdminOperationLookupStrategy" parent="shibboleth.ContextFunctions.Expression"
         c:outputType="#{T(java.lang.String)}"
-        c:expression="#custom.getMethod()"
-        p:customObject-ref="shibboleth.HttpServletRequest" />
+        c:expression="#custom.get().getMethod()"
+        p:customObject-ref="shibboleth.HttpServletRequestSupplier" />
         
     <bean id="shibboleth.AdminResourceLookupStrategy" parent="shibboleth.ContextFunctions.Expression"
         c:outputType="#{T(java.lang.String)}"
@@ -32,8 +32,8 @@
     <!--  Work beans. -->
     
     <bean id="DoRevocationCacheOperation" class="net.shibboleth.idp.authn.revocation.impl.DoRevocationCacheOperation" scope="prototype"
-        p:httpServletRequest-ref="shibboleth.HttpServletRequest"
-        p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+        p:httpServletRequestSupplier-ref="shibboleth.HttpServletRequestSupplier"
+        p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
         p:objectMapper-ref="shibboleth.JSONObjectMapper" />
         
     <bean id="RecordResponseComplete" class="net.shibboleth.idp.profile.impl.RecordResponseComplete" scope="prototype" />

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


More information about the commits mailing list