[java-identity-provider] branch maint-4.1 updated: IDP-1838 Plugin installer ignores custom HttpClient (e.g. HTTP Proxy)

Rod Widdowson rdw at steadingsoftware.com
Wed Jul 21 12:49:01 UTC 2021


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

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

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

The following commit(s) were added to refs/heads/maint-4.1 by this push:
       new  6eec2a46d IDP-1838 Plugin installer ignores custom HttpClient (e.g. HTTP Proxy)
6eec2a46d is described below

commit 6eec2a46daf6e5ceebe1796e6820edacacb0b78f
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jul 21 13:43:06 2021 +0100

    IDP-1838 Plugin installer ignores custom HttpClient (e.g. HTTP Proxy)
    
    https://issues.shibboleth.net/jira/browse/IDP-1838
    
    Set the http client into the PluginState.  So the fact that it is used
    for download and for the module work is irrelevant
---
 .../java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
index 59b84ace0..4c6d74c45 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
@@ -246,6 +246,7 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
         setupDescriptionFromDistribution();
         if (checkVersion) {
             final PluginState state = new PluginState(description, updateOverrideURLs);
+            state.setHttpClient(httpClient);
             try {
                 state.initialize();
             } catch (final ComponentInitializationException e) {

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


More information about the commits mailing list