aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java3
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java12
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 e9e7e0f4..d1b947b0 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
@@ -54,9 +54,6 @@ public interface IConfigurationConstants {
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 d63f698f..13ac5ccd 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
@@ -587,16 +587,4 @@ 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;
- }
-
}