[java-identity-provider] 01/02: IDP-1793 Use Suppliers for HttpRequest/Response

Rod Widdowson rdw at steadingsoftware.com
Sun Aug 14 14:58:31 UTC 2022


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

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

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

commit 5cf210b448e22a7a9a369c8873c5283a2ee04039
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Aug 2 20:32:03 2022 +0100

    IDP-1793  Use Suppliers for HttpRequest/Response
    
    https://shibboleth.atlassian.net/browse/IDP-1793
    
    Response Encoders gain setters for a Supplier for the HttpResponse
---
 .../net/shibboleth/idp/conf/saml-binding-config.xml      | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-binding-config.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-binding-config.xml
index d09a0f7ef..32a6d253a 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-binding-config.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-binding-config.xml
@@ -133,39 +133,39 @@
 
     <bean id="shibboleth.Encoders.SAML1PostEncoder"
           class="org.opensaml.saml.saml1.binding.encoding.impl.HTTPPostEncoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
           p:velocityEngine-ref="shibboleth.VelocityEngine" />
 
     <bean id="shibboleth.Encoders.SAML1ArtifactEncoder"
           class="org.opensaml.saml.saml1.binding.encoding.impl.HTTPArtifactEncoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
           p:artifactMap-ref="shibboleth.SAMLArtifactMap" />
 
     <bean id="shibboleth.Encoders.SAML1SOAPEncoder"
           class="org.opensaml.saml.saml1.binding.encoding.impl.HTTPSOAP11Encoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse" />
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier" />
 
     <bean id="shibboleth.Encoders.SAML2RedirectEncoder"
           class="org.opensaml.saml.saml2.binding.encoding.impl.HTTPRedirectDeflateEncoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse" />
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier" />
 
     <bean id="shibboleth.Encoders.SAML2PostEncoder"
           class="org.opensaml.saml.saml2.binding.encoding.impl.HTTPPostEncoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
           p:velocityEngine-ref="shibboleth.VelocityEngine" />
 
     <bean id="shibboleth.Encoders.SAML2PostSimpleSignEncoder"
           class="org.opensaml.saml.saml2.binding.encoding.impl.HTTPPostSimpleSignEncoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
           p:velocityEngine-ref="shibboleth.VelocityEngine" />
 
     <bean id="shibboleth.Encoders.SAML2ArtifactEncoder"
           class="org.opensaml.saml.saml2.binding.encoding.impl.HTTPArtifactEncoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
           p:artifactMap-ref="shibboleth.SAMLArtifactMap" />
           
     <bean id="shibboleth.Encoders.SAML2SOAPEncoder"
           class="org.opensaml.saml.saml2.binding.encoding.impl.HTTPSOAP11Encoder" scope="prototype" init-method=""
-          p:httpServletResponse-ref="shibboleth.HttpServletResponse" />
+          p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier" />
 
 </beans>

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


More information about the commits mailing list