From c137e0ea58392a531a37f28073c91bdc9ab8caa9 Mon Sep 17 00:00:00 2001 From: tlenz Date: Mon, 24 Oct 2016 14:49:20 +0200 Subject: fix default connection-timeout configuration-values for PKI module certificate revocation checks TODO: open problem in moa-sig configuration validator (timeouts are not configurable) --- .../egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'moaSig/moa-sig-lib/src') diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java index 3c7bf6a..e134d57 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java @@ -441,7 +441,7 @@ public class ConfigurationPartsBuilder { defaultConnectionTimeout = 30; } - return defaultConnectionTimeout; + return defaultConnectionTimeout * 1000; } public int getReadTimeout() @@ -461,7 +461,7 @@ public class ConfigurationPartsBuilder { defaultConnectionTimeout = 30; } - return defaultConnectionTimeout; + return defaultConnectionTimeout * 1000; } public boolean getAdesFormResult() -- cgit v1.2.3