From 4346848cf460ae283272ae5b81af560940ab8129 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Mon, 9 Mar 2015 16:55:49 +0100 Subject: Use XAdES 1.4 (and blacklist) by default --- .../main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java | 2 +- .../at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bkucommon/src') diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java index 0308930f..06d0fb23 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java @@ -181,7 +181,7 @@ public class HTTPBindingProcessorImpl extends AbstractBindingProcessor implement } public boolean getUseXAdES14() { - return configuration.getBoolean(USE_XADES_1_4, false); + return configuration.getBoolean(USE_XADES_1_4, true); } public boolean getAllowOtherRedirects() { diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java index 1b9ab06c..18857118 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java @@ -122,11 +122,11 @@ public class CreateXMLSignatureCommandImpl extends } public boolean getUseXAdES14() { - return configuration.getBoolean(USE_XADES_1_4, false); + return configuration.getBoolean(USE_XADES_1_4, true); } public boolean getUseXAdES14Blacklist() { - return configuration.getBoolean(USE_XADES_1_4_BLACKLIST, false); + return configuration.getBoolean(USE_XADES_1_4_BLACKLIST, true); } } -- cgit v1.2.3