diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-02-23 15:31:03 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-02-23 15:33:28 +0100 |
commit | 96ea325cbce319f64ad548908e395825bbdca83f (patch) | |
tree | 355ca0a962f547a82d532e477e58e1a1fddad760 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku | |
parent | 7b6860087f50b7576c31f7aa50714d3fa7a9b228 (diff) | |
download | mocca-96ea325cbce319f64ad548908e395825bbdca83f.tar.gz mocca-96ea325cbce319f64ad548908e395825bbdca83f.tar.bz2 mocca-96ea325cbce319f64ad548908e395825bbdca83f.zip |
Make BASE64 usage configurable for a-trust mobile bku
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java | 8 |
1 files changed, 6 insertions, 2 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 12eff95b..43a4002e 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 @@ -44,10 +44,12 @@ public class ATrustHandler extends MobileBKUHandler { /** * @param state * @param shell + * @param useBase64 */ - public ATrustHandler(MobileBKUState state, Shell shell) { + public ATrustHandler(MobileBKUState state, Shell shell, boolean useBase64) { super(state); this.shell = shell; + this.useBase64 = useBase64; } /** @@ -56,6 +58,8 @@ public class ATrustHandler extends MobileBKUHandler { private static final Logger log = LoggerFactory .getLogger(ATrustHandler.class); + private boolean useBase64 = false; + /* (non-Javadoc) * @see at.asit.pdfover.gui.workflow.states.mobilebku.MobileBKUHandler#handleSLRequestResponse(java.lang.String) */ @@ -240,6 +244,6 @@ public class ATrustHandler extends MobileBKUHandler { */ @Override public boolean useBase64Request() { - return false; + return this.useBase64; } } |