summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-03-09 16:55:49 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-03-17 16:33:58 +0100
commit4346848cf460ae283272ae5b81af560940ab8129 (patch)
tree5a35c89054716b8f12d146e953d43aac57c82c89
parent78806dca7951288aaca027a8675eaf1970f8921d (diff)
downloadmocca-4346848cf460ae283272ae5b81af560940ab8129.tar.gz
mocca-4346848cf460ae283272ae5b81af560940ab8129.tar.bz2
mocca-4346848cf460ae283272ae5b81af560940ab8129.zip
Use XAdES 1.4 (and blacklist) by default
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java2
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java4
2 files changed, 3 insertions, 3 deletions
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);
}
}