summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon/src/main/java/at/gv')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/binding/DataUrlConnectionImpl.java4
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/conf/Configurator.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/DataUrlConnectionImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/DataUrlConnectionImpl.java
index c8bddbbd..4f2d2e00 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/DataUrlConnectionImpl.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/DataUrlConnectionImpl.java
@@ -227,12 +227,12 @@ public class DataUrlConnectionImpl implements DataUrlConnectionSPI {
requestHttpHeaders = new HashMap<String, String>();
if (config != null) {
- String sigLayout="";
String version = config.getProperty(Configurator.SIGNATURE_LAYOUT);
if ((version != null) && (!"".equals(version.trim()))) {
+ log.debug("setting SignatureLayout header to " + version);
requestHttpHeaders.put(Configurator.SIGNATURE_LAYOUT, version);
} else {
- log.debug("Do not set siglayout header");
+ log.debug("do not set SignatureLayout header");
}
String userAgent = config.getProperty(Configurator.USERAGENT_CONFIG_P, Configurator.USERAGENT_DEFAULT);
requestHttpHeaders.put(HttpUtil.HTTP_HEADER_USER_AGENT, userAgent);
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/conf/Configurator.java b/bkucommon/src/main/java/at/gv/egiz/bku/conf/Configurator.java
index f5110799..a3e07cda 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/conf/Configurator.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/conf/Configurator.java
@@ -213,10 +213,10 @@ public abstract class Configurator {
layout = att.getValue(SIGNATURE_LAYOUT);
}
if (layout != null) {
- log.info("Setting signature layout to: " + layout);
+ log.info("setting SignatureLayout header to " + layout);
properties.put(SIGNATURE_LAYOUT, layout);
} else {
- log.warn("No signature layout version defined");
+ log.warn("no SignatureLayout version defined");
}
} catch (Exception ex) {
log.warn("Cannot read manifest", ex);