diff options
author | emusic <emina.music@egiz.gv.at> | 2018-11-21 14:23:07 +0100 |
---|---|---|
committer | emusic <emina.music@egiz.gv.at> | 2018-11-21 14:23:07 +0100 |
commit | c87c82009fb07e285d6c9acfd4686efc2cbf21c9 (patch) | |
tree | 5e6584a177ec4d8cc1e80ecf9ef460c1ef5255a9 | |
parent | be27da36e9b1e319bf8910228cdbcdd502afbc9d (diff) | |
download | pdf-as-4-c87c82009fb07e285d6c9acfd4686efc2cbf21c9.tar.gz pdf-as-4-c87c82009fb07e285d6c9acfd4686efc2cbf21c9.tar.bz2 pdf-as-4-c87c82009fb07e285d6c9acfd4686efc2cbf21c9.zip |
remove unused statements
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java | 3 | ||||
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java index f043ff21..a921bcd3 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java @@ -53,9 +53,6 @@ public interface IConfigurationConstants { public static final String DEFAULT_SIGNATURE_PROFILE = SIG_OBJECT + SEPERATOR + TYPE + SEPERATOR + DEFAULT; public static final String CONFIG_BKU_URL = "bku.sign.url"; - - /*Protect PDF content*/ - public static final String DEFAULT_CONFIG_PROTECT_PDF = DEFAULT+SEPERATOR+"protectPDF"; /** * MOA SS Signing Key Identifier diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java index c6b27eb3..6d9be34c 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java @@ -630,18 +630,6 @@ public class WebConfiguration implements IConfigurationConstants { } return ivalue; } - - - public static boolean isPdfProtected() - { - String value = properties.getProperty(DEFAULT_CONFIG_PROTECT_PDF); - if (value != null) { - if (value.equals("true")) { - return true; - } - } - return false; - } public static String getSL20KeyStorePath() { return properties.getProperty(SL20_KEYSTORE_FILE); |