From 2c0e0f40e005b490e39b831f78545bd7d7b74a50 Mon Sep 17 00:00:00 2001 From: knowcenter Date: Fri, 24 Aug 2007 11:26:06 +0000 Subject: TR: Update zu SwA-Kommunikation mit MOA-SS/SP git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@195 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java index dd22b1d..ae133fc 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java @@ -15,6 +15,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; import at.knowcenter.wag.egov.egiz.sig.sigid.HotfixIdFormatter; /** @@ -61,7 +62,8 @@ public final class ConnectorChooser } log.debug("choosing locref detached MOA connector."); - return new DetachedLocRefMOAConnector(profile, loc_ref_url); +// return new DetachedLocRefMOAConnector(profile, loc_ref_url); + return new MOASoapWithAttachmentConnector(profile); } // public static Connector chooseCommandlineConnectorForSign(String connector, @@ -173,7 +175,8 @@ public final class ConnectorChooser log.debug("sig_kz version is 1.1.0 -> choosing detached (loc ref) connector."); //throw new ConnectorException(370, "The MOA detached connector is not suitable for verification."); - return new DetachedLocRefMOAConnector(profile, loc_ref_url); +// return new DetachedLocRefMOAConnector(profile, loc_ref_url); + return new MOASoapWithAttachmentConnector(profile); } throw new ConnectorException(310, "The SIG_KZ version '" + sig_kz.getVersion() + "' is unknown."); -- cgit v1.2.3