aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-E-ID_connector/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-09-21 09:06:13 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-09-21 09:06:13 +0200
commit570ac427fc0841c1ac49054b0ee854b57a2029d0 (patch)
tree697da3fe4c30d7aeb9e96040d36a79fa89ca504c /id/server/modules/moa-id-module-E-ID_connector/src/main/java/at
parent1cea95f58bbd737c707734e77968dbefb7f311e8 (diff)
downloadmoa-id-spss-570ac427fc0841c1ac49054b0ee854b57a2029d0.tar.gz
moa-id-spss-570ac427fc0841c1ac49054b0ee854b57a2029d0.tar.bz2
moa-id-spss-570ac427fc0841c1ac49054b0ee854b57a2029d0.zip
remove demo-code from EIDAuthMetadataProvider
Diffstat (limited to 'id/server/modules/moa-id-module-E-ID_connector/src/main/java/at')
-rw-r--r--id/server/modules/moa-id-module-E-ID_connector/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidproxyauth/utils/EIDAuthMetadataProvider.java7
1 files changed, 0 insertions, 7 deletions
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 {