From fd89c6964d06df410dff79a94af4a4edc3a12fb0 Mon Sep 17 00:00:00 2001 From: knowcenter Date: Fri, 24 Aug 2007 11:24:30 +0000 Subject: TR: Update zu SwA-Kommunikation mit MOA-SS/SP git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@191 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/gv/egiz/pdfas/framework/ConnectorFactory.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/gv/egiz/pdfas/framework/ConnectorFactory.java b/src/main/java/at/gv/egiz/pdfas/framework/ConnectorFactory.java index 65c5af7..b42c8ed 100644 --- a/src/main/java/at/gv/egiz/pdfas/framework/ConnectorFactory.java +++ b/src/main/java/at/gv/egiz/pdfas/framework/ConnectorFactory.java @@ -11,6 +11,7 @@ import at.knowcenter.wag.egov.egiz.sig.connectors.bku.MultipartDetachedBKUConnec import at.knowcenter.wag.egov.egiz.sig.connectors.bku.OldEnvelopingBase64BKUConnector; import at.knowcenter.wag.egov.egiz.sig.connectors.moa.DetachedLocRefMOAConnector; import at.knowcenter.wag.egov.egiz.sig.connectors.moa.EnvelopingBase64MOAConnector; +import at.knowcenter.wag.egov.egiz.sig.connectors.moa.MOASoapWithAttachmentConnector; /** * @author wprinz @@ -51,12 +52,16 @@ public class ConnectorFactory if (connectorId.equals(DETACHED_LOCREF_MOA_CONNECTOR)) { - return new DetachedLocRefMOAConnector(profile, locRef); +// TODO Hier wird der neue Connector verwendet +// return new DetachedLocRefMOAConnector(profile, locRef); + return new MOASoapWithAttachmentConnector(profile); } if (connectorId.equals(ENVELOPING_BASE64_MOA_CONNECTOR)) { +// TODO Hier wird NICHT der neue Connector verwendet return new EnvelopingBase64MOAConnector(profile); +// return new MOASoapWithAttachmentConnector(profile); } throw new ConnectorFactoryException("The connector Id " + connectorId + " couldn't be found by the ConnectorFactory."); -- cgit v1.2.3