diff options
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java | 4 | ||||
-rw-r--r-- | test-files/blindtext.pdf | bin | 116376 -> 44339 bytes | |||
-rw-r--r-- | test-files/blindtext_mit_leerer_seite.pdf | bin | 116996 -> 0 bytes |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java index e8deb39..450cb3c 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java @@ -21,6 +21,7 @@ import java.lang.reflect.Field; import org.apache.log4j.Logger;
+import at.gv.egiz.pdfas.api.commons.Constants;
import at.knowcenter.wag.egov.egiz.cfg.ConfigLogger;
import at.knowcenter.wag.egov.egiz.cfg.SettingsReader;
import at.knowcenter.wag.egov.egiz.exceptions.ConnectorFactoryException;
@@ -29,6 +30,7 @@ import at.knowcenter.wag.egov.egiz.sig.connectors.A1Connector; import at.knowcenter.wag.egov.egiz.sig.connectors.BKUConnector;
import at.knowcenter.wag.egov.egiz.sig.connectors.ConnectorConfigurationKeys;
import at.knowcenter.wag.egov.egiz.sig.connectors.MOAConnector;
+import at.knowcenter.wag.egov.egiz.sig.connectors.mocca.LocRefDetachedMOCCAConnector;
/**
* This is a factory for creating the appropriate connector according to the
@@ -306,7 +308,7 @@ public abstract class ConnectorFactory */
public static boolean isConnectorLocal(String connector_identifier) throws ConnectorFactoryException
{
- return connector_identifier.equals("bku") || connector_identifier.equals("a1");
+ return connector_identifier.equals(Constants.SIGNATURE_DEVICE_BKU) || connector_identifier.equals(Constants.SIGNATURE_DEVICE_A1) || connector_identifier.equals(Constants.SIGNATURE_DEVICE_MOC);
}
/**
diff --git a/test-files/blindtext.pdf b/test-files/blindtext.pdf Binary files differindex f8f5a38..d53d766 100644 --- a/test-files/blindtext.pdf +++ b/test-files/blindtext.pdf diff --git a/test-files/blindtext_mit_leerer_seite.pdf b/test-files/blindtext_mit_leerer_seite.pdf Binary files differdeleted file mode 100644 index c68c448..0000000 --- a/test-files/blindtext_mit_leerer_seite.pdf +++ /dev/null |