diff options
author | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-11-29 14:27:54 +0000 |
---|---|---|
committer | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-11-29 14:27:54 +0000 |
commit | 7829299864100095d366403a09f7dfaa44cf2ac6 (patch) | |
tree | 047bfb9a084f23d5979a9fde09aa1f1606210ee5 /src/main/java/at/knowcenter | |
parent | 99da8df4fbd6420632adec989e3fb13a641be591 (diff) | |
download | pdf-as-3-7829299864100095d366403a09f7dfaa44cf2ac6.tar.gz pdf-as-3-7829299864100095d366403a09f7dfaa44cf2ac6.tar.bz2 pdf-as-3-7829299864100095d366403a09f7dfaa44cf2ac6.zip |
added override properties
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@636 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java index 24d1411..bbe28a0 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java @@ -41,6 +41,7 @@ import org.apache.log4j.Logger; import at.knowcenter.wag.egov.egiz.PdfASID;
import at.knowcenter.wag.egov.egiz.cfg.ConfigLogger;
+import at.knowcenter.wag.egov.egiz.cfg.OverridePropertyHolder;
import at.knowcenter.wag.egov.egiz.cfg.SettingsReader;
import at.knowcenter.wag.egov.egiz.exceptions.InvalidIDException;
import at.knowcenter.wag.egov.egiz.exceptions.NormalizeException;
@@ -425,6 +426,7 @@ public class SignatureObject implements Serializable */
public String getSigValue(String key)
{
+
String value = null;
if (sigEntries_.containsKey(key))
{
@@ -434,6 +436,14 @@ public class SignatureObject implements Serializable {
value = normalizer_.getVersion();
}
+ String overrideVal = OverridePropertyHolder.getProperty(key);
+ if (overrideVal != null) {
+ value = overrideVal;
+ if (logger_.isDebugEnabled()) {
+ logger_.debug("Using override property for key '" + key + "' = " + value);
+ }
+ }
+
return value;
}
|