summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-30 12:10:35 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-30 12:10:35 +0200
commit281cc23ba6b50c270dc22027cab80c01d35563e7 (patch)
treea392d715fffff6282bb5a0f65707381db05a22aa /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
parentf9278976789952fc9528f47b6d99a37d79532f68 (diff)
downloadpdf-over-281cc23ba6b50c270dc22027cab80c01d35563e7.tar.gz
pdf-over-281cc23ba6b50c270dc22027cab80c01d35563e7.tar.bz2
pdf-over-281cc23ba6b50c270dc22027cab80c01d35563e7.zip
remove IAIK MobileBKU support, cc @tlenz
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
index d8c8320c..51a01420 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
@@ -196,27 +196,6 @@ public class ConfigurationManager {
if (compat != null)
setSignaturePdfACompatPersistent(compat.equalsIgnoreCase(Constants.TRUE));
- String bkuUrl = diskConfig.getProperty(Constants.CFG_MOBILE_BKU_URL);
- if (bkuUrl != null && !bkuUrl.isEmpty())
- this.configuration.mobileBKUURL = bkuUrl;
-
- String bkuType = diskConfig.getProperty(Constants.CFG_MOBILE_BKU_TYPE);
-
- if (bkuType != null && !bkuType.isEmpty())
- {
- try
- {
- this.configuration.mobileBKUType = MobileBKUs.valueOf(bkuType.trim().toUpperCase());
- } catch (IllegalArgumentException e) {
- log.error("Invalid BKU type: " + bkuType);
- this.configuration.mobileBKUType = DEFAULT_MOBILE_BKU_TYPE;
- }
- }
-
- String useBase64 = diskConfig.getProperty(Constants.CFG_MOBILE_BKU_BASE64);
- if (useBase64 != null)
- this.configuration.mobileBKUBase64 = useBase64.equalsIgnoreCase(Constants.TRUE);
-
String proxyPortString = diskConfig.getProperty(Constants.CFG_PROXY_PORT);
if (proxyPortString != null && !proxyPortString.trim().isEmpty())
{
@@ -368,17 +347,6 @@ public class ConfigurationManager {
else
props.setProperty(Constants.CFG_SIGNATURE_POSITION, "auto");
- String mobileBKUURL = getMobileBKUURL();
- if (!mobileBKUURL.equals(Constants.DEFAULT_MOBILE_BKU_URL))
- props.setProperty(Constants.CFG_MOBILE_BKU_URL, mobileBKUURL);
-
- MobileBKUs mobileBKUType = getMobileBKUType();
- if (mobileBKUType != DEFAULT_MOBILE_BKU_TYPE)
- props.setProperty(Constants.CFG_MOBILE_BKU_TYPE, mobileBKUType.toString());
-
- if (getMobileBKUBase64())
- props.setProperty(Constants.CFG_MOBILE_BKU_BASE64, Constants.TRUE);
-
if (Constants.THEME != Constants.Themes.DEFAULT)
props.setProperty(Constants.CFG_THEME, Constants.THEME.name());
@@ -728,18 +696,6 @@ public class ConfigurationManager {
return outputFolder;
}
- public String getMobileBKUURL() {
- return this.configuration.mobileBKUURL;
- }
-
- public MobileBKUs getMobileBKUType() {
- return this.configuration.mobileBKUType;
- }
-
- public boolean getMobileBKUBase64() {
- return this.configuration.mobileBKUBase64;
- }
-
public void setSignatureNotePersistent(String note) {
if (note == null || note.trim().isEmpty()) {
this.configuration.signatureNote = STRING_EMPTY;