[java-identity-provider] branch main updated: IDP-1918 - Allow override of HttpClient used by SOAP client

Scott Cantor cantor.2 at osu.edu
Thu Mar 10 14:16:04 UTC 2022


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

scantor 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=9bb43b1b5edc707a5be322eddd1dba253a849e6f

The following commit(s) were added to refs/heads/main by this push:
     new 9bb43b1b5 IDP-1918 - Allow override of HttpClient used by SOAP client
9bb43b1b5 is described below

commit 9bb43b1b5edc707a5be322eddd1dba253a849e6f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Mar 10 09:16:00 2022 -0500

    IDP-1918 - Allow override of HttpClient used by SOAP client
    
    https://shibboleth.atlassian.net/browse/IDP-1918
---
 .../src/main/resources/net/shibboleth/idp/conf/soap-client.xml        | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/soap-client.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/soap-client.xml
index d396cb0fd..22cc14767 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/soap-client.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/soap-client.xml
@@ -14,9 +14,7 @@
     
     <!-- Aliases used for wiring, especially by other components. In case we want to switch strategies, can do it here -->
     <alias alias="shibboleth.SOAPClient.SAML" name="SOAPClient.SAML.LocatorMap" />
-    <alias alias="SOAPClient.SAML.HttpClient" name="SOAPClient.HttpClient" />
     
-
     <!-- Security Configuration lookup -->
 
     <bean id="shibboleth.MessageContext.SignatureValidationConfigurationLookup"
@@ -32,7 +30,7 @@
     <!-- SOAP client and pipeline factory definitions. -->
          
     <bean id="SOAPClient.SAML.LocatorMap" class="org.opensaml.soap.client.http.PipelineFactoryHttpSOAPClient">
-        <property name="httpClient" ref="SOAPClient.SAML.HttpClient" />
+        <property name="httpClient" ref="#{'%{idp.soap.httpClient:SOAPClient.HttpClient}'.trim()}" />
         <property name="pipelineFactory" ref="SOAPClient.PipelineFactory.LocatorMap" />
     </bean>
     

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


More information about the commits mailing list