summaryrefslogtreecommitdiff
path: root/bkucommon/src
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-04-17 13:30:09 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-04-17 13:30:09 +0000
commit9452928e56cc32092adbe146bfb2dd86211e63dc (patch)
tree9177e12a14999ebfbddb217e16d345485f2de843 /bkucommon/src
parentddec4b921578c3a2a84838788f3667cff45af3b6 (diff)
downloadmocca-9452928e56cc32092adbe146bfb2dd86211e63dc.tar.gz
mocca-9452928e56cc32092adbe146bfb2dd86211e63dc.tar.bz2
mocca-9452928e56cc32092adbe146bfb2dd86211e63dc.zip
MANIFEST (TODO delete from svn)
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@338 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src')
-rw-r--r--bkucommon/src/main/java/META-INF/MANIFEST.MF7
-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
3 files changed, 9 insertions, 6 deletions
diff --git a/bkucommon/src/main/java/META-INF/MANIFEST.MF b/bkucommon/src/main/java/META-INF/MANIFEST.MF
index 5e949512..46e7dd84 100644
--- a/bkucommon/src/main/java/META-INF/MANIFEST.MF
+++ b/bkucommon/src/main/java/META-INF/MANIFEST.MF
@@ -1,3 +1,6 @@
Manifest-Version: 1.0
-Class-Path:
-
+Archiver-Version: Plexus Archiver
+Created-By: Apache Maven
+Built-By: clemens
+Build-Jdk: 1.6.0_10
+SignatureLayout: 1.0
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);