summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-07 12:57:59 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-07 12:57:59 +0200
commit3c1e373f9fdf83da4b2083101c77a664ea756091 (patch)
tree006f866de8ffc24d3bab5fb1a37a1d17ea1d6ec2 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku
parent5555d3c73c2b4b9e1f9341be9053dde91a02af6a (diff)
downloadpdf-over-3c1e373f9fdf83da4b2083101c77a664ea756091.tar.gz
pdf-over-3c1e373f9fdf83da4b2083101c77a664ea756091.tar.bz2
pdf-over-3c1e373f9fdf83da4b2083101c77a664ea756091.zip
YAGNI: the four different Config* interfaces that are only implemented once
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/ATrustStatus.java5
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/IAIKStatus.java13
2 files changed, 4 insertions, 14 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustStatus.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustStatus.java
index 20f645a2..7a51a961 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustStatus.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustStatus.java
@@ -16,11 +16,10 @@
package at.asit.pdfover.gui.bku.mobile;
// Imports
-import org.apache.commons.httpclient.Cookie;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import at.asit.pdfover.gui.workflow.config.ConfigProvider;
+import at.asit.pdfover.gui.workflow.config.ConfigProviderImpl;
/**
* A-Trust MobileBKUStatus implementation
@@ -53,7 +52,7 @@ public class ATrustStatus extends MobileBKUStatus {
* Constructor
* @param provider the ConfigProvider
*/
- public ATrustStatus(ConfigProvider provider) {
+ public ATrustStatus(ConfigProviderImpl provider) {
this.phoneNumber = provider.getDefaultMobileNumber();
this.mobilePassword = provider.getDefaultMobilePassword();
}
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/IAIKStatus.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/IAIKStatus.java
index cb131012..cb150327 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/IAIKStatus.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/IAIKStatus.java
@@ -15,21 +15,12 @@
*/
package at.asit.pdfover.gui.bku.mobile;
-// Imports
-import org.apache.commons.httpclient.Cookie;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import at.asit.pdfover.gui.workflow.config.ConfigProvider;
+import at.asit.pdfover.gui.workflow.config.ConfigProviderImpl;
/**
* IAIK MobileBKUStatus implementation
*/
public class IAIKStatus extends MobileBKUStatus {
- /**
- * SLF4J Logger instance
- **/
- private static final Logger log = LoggerFactory.getLogger(IAIKStatus.class);
/** Maximum number of TAN tries */
public static final int MOBILE_MAX_TAN_TRIES = 3;
@@ -40,7 +31,7 @@ public class IAIKStatus extends MobileBKUStatus {
* Constructor
* @param provider the ConfigProvider
*/
- public IAIKStatus(ConfigProvider provider) {
+ public IAIKStatus(ConfigProviderImpl provider) {
this.phoneNumber = provider.getDefaultMobileNumber();
this.mobilePassword = provider.getDefaultMobilePassword();
}