From 570ac427fc0841c1ac49054b0ee854b57a2029d0 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 21 Sep 2020 09:06:13 +0200 Subject: remove demo-code from EIDAuthMetadataProvider --- .../auth/modules/eidproxyauth/utils/EIDAuthMetadataProvider.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'id') diff --git a/id/server/modules/moa-id-module-E-ID_connector/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidproxyauth/utils/EIDAuthMetadataProvider.java b/id/server/modules/moa-id-module-E-ID_connector/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidproxyauth/utils/EIDAuthMetadataProvider.java index e9ea40e0b..f36ba5261 100644 --- a/id/server/modules/moa-id-module-E-ID_connector/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidproxyauth/utils/EIDAuthMetadataProvider.java +++ b/id/server/modules/moa-id-module-E-ID_connector/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidproxyauth/utils/EIDAuthMetadataProvider.java @@ -321,13 +321,6 @@ public class EIDAuthMetadataProvider extends SimpleMetadataProvider HttpClientParams httpClientParams = new HttpClientParams(); httpClientParams.setSoTimeout(AuthConfiguration.CONFIG_PROPS_METADATA_SOCKED_TIMEOUT); httpClient.setParams(httpClientParams); - - Credentials defaultcreds = new UsernamePasswordCredentials("username", "password"); - httpClient.getState().setProxyCredentials( - new AuthScope("myhost", 8080, AuthScope.ANY_REALM), defaultcreds); - ProxyHost proxyHost = new ProxyHost("myhost", 8080); - httpClient.getHostConfiguration().setProxyHost(proxyHost); - if (metadataURL.startsWith("https:")) { try { -- cgit v1.2.3