aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/sig
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-10-10 11:38:36 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-10-10 11:38:36 +0000
commit50f354e021e41d1c3fac0e1d912c19546869dc83 (patch)
treed2bf900fbfcb69ad14c2af02f33bcda1a239ba24 /src/main/java/at/knowcenter/wag/egov/egiz/sig
parent6ef9bdefc58cb2553f23aaa9711d6341e293c9f7 (diff)
downloadpdf-as-3-50f354e021e41d1c3fac0e1d912c19546869dc83.tar.gz
pdf-as-3-50f354e021e41d1c3fac0e1d912c19546869dc83.tar.bz2
pdf-as-3-50f354e021e41d1c3fac0e1d912c19546869dc83.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@297 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/sig')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java4
1 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);
}
/**