diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-03-02 10:59:25 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-03-02 11:02:06 +0100 |
commit | 624f7eea13303746c6d4171101e6e48a14d936bd (patch) | |
tree | fa10b68b1c7582bb1ffe7d23ff9080fd3f7111af /pdf-over-gui/src/main/java/at | |
parent | 4709c39b1cbbc1e9b15baa66870a21783cc45d43 (diff) | |
download | pdf-over-624f7eea13303746c6d4171101e6e48a14d936bd.tar.gz pdf-over-624f7eea13303746c6d4171101e6e48a14d936bd.tar.bz2 pdf-over-624f7eea13303746c6d4171101e6e48a14d936bd.zip |
Mobile BKU BASE64 setting defaults to false again after A-Trust fix
This reverts commit 4709c39b1cbbc1e9b15baa66870a21783cc45d43.
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
3 files changed, 5 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java index 889b22e7..be7464fc 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java @@ -66,7 +66,7 @@ public class ATrustHandler extends MobileBKUHandler { private static final String ACTIVATION_URL = "https://www.handy-signatur.at/"; //$NON-NLS-1$ - private boolean useBase64 = true; + private boolean useBase64 = false; /* (non-Javadoc) * @see at.asit.pdfover.gui.workflow.states.mobilebku.MobileBKUHandler#handleSLRequestResponse(java.lang.String) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java index 91bfe3d5..886ec793 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java @@ -153,7 +153,7 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator, String useBase64 = config.getProperty(Constants.CFG_MOBILE_BKU_BASE64); if (useBase64 != null) - this.configuration.setMobileBKUBase64(!useBase64.equalsIgnoreCase(Constants.FALSE)); + this.configuration.setMobileBKUBase64(useBase64.equalsIgnoreCase(Constants.TRUE)); // Set Proxy Port String proxyPortString = config @@ -344,8 +344,8 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator, if (mobileBKUType != Constants.DEFAULT_MOBILE_BKU_TYPE) props.setProperty(Constants.CFG_MOBILE_BKU_TYPE, mobileBKUType.toString()); - if (!getMobileBKUBase64()) - props.setProperty(Constants.CFG_MOBILE_BKU_BASE64, Constants.FALSE); + 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()); diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java index c777f3ec..c7ec2c34 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java @@ -101,7 +101,7 @@ public class ConfigurationContainerImpl implements ConfigurationContainer { protected MobileBKUs mobileBKUType = Constants.DEFAULT_MOBILE_BKU_TYPE; /** Holds the mobile BKU BASE64 setting */ - protected boolean mobileBKUBase64 = true; + protected boolean mobileBKUBase64 = false; /** Holds the main window size */ protected Point mainWindowSize = null; |