From c87c82009fb07e285d6c9acfd4686efc2cbf21c9 Mon Sep 17 00:00:00 2001 From: emusic Date: Wed, 21 Nov 2018 14:23:07 +0100 Subject: remove unused statements --- .../at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java | 3 --- .../java/at/gv/egiz/pdfas/web/config/WebConfiguration.java | 12 ------------ 2 files changed, 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); -- cgit v1.2.3