[java-identity-provider] 03/07: IDP-1793 Use Suppliers for HttpRequest/Response

Rod Widdowson rdw at steadingsoftware.com
Tue Aug 2 19:34:30 UTC 2022


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

rdw pushed a commit to branch dev/4/IDP-1793
in repository java-identity-provider.

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

commit 2e5c0db93e6904f67146bf1900e0f341b24ff677
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jul 31 11:33:55 2022 +0100

    IDP-1793  Use Suppliers for HttpRequest/Response
    
    https://shibboleth.atlassian.net/browse/IDP-1793
    
    org.opensaml.security.messaging.impl.BaseClientCertAuthSecurityHandler
      and hence
    org.opensaml.saml.common.binding.security.impl.SAMLMDClientCertAuthSecurityHandler
    
    lose the setter for the HttpServletRequest and gains a setter for
    a Supplier<HttpServletRequest>
---
 .../net/shibboleth/idp/flows/saml/saml2/idwsf-ssos-security-beans.xml   | 2 +-
 .../src/main/resources/net/shibboleth/idp/flows/saml/security-beans.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/idwsf-ssos-security-beans.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/idwsf-ssos-security-beans.xml
index d9fd28799..c4db6a691 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/idwsf-ssos-security-beans.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/saml2/idwsf-ssos-security-beans.xml
@@ -20,7 +20,7 @@
             c:executionDirection="INBOUND">
         <constructor-arg name="messageHandler">
             <bean class="org.opensaml.saml.common.binding.security.impl.SAMLMDClientCertAuthSecurityHandler" scope="prototype"
-                    p:httpServletRequest-ref="shibboleth.HttpServletRequest" 
+                    p:httpServletRequestSuplier-ref="shibboleth.HttpServletRequestSupplier"
                     p:entityContextClass="org.opensaml.saml.common.messaging.context.SAMLPresenterEntityContext" />
         </constructor-arg>
         <property name="activationCondition">
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/security-beans.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/security-beans.xml
index 8de264f30..fc6f53698 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/security-beans.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/saml/security-beans.xml
@@ -104,7 +104,7 @@
             c:executionDirection="INBOUND">
         <constructor-arg name="messageHandler">
             <bean class="org.opensaml.saml.common.binding.security.impl.SAMLMDClientCertAuthSecurityHandler" scope="prototype"
-                    p:httpServletRequest-ref="shibboleth.HttpServletRequest" />
+                    p:httpServletRequestSupplier-ref="shibboleth.HttpServletRequestSupplier" />
         </constructor-arg>
         <property name="activationCondition">
             <bean parent="shibboleth.Conditions.NOT"

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


More information about the commits mailing list