aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-08-24 11:26:06 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-08-24 11:26:06 +0000
commit2c0e0f40e005b490e39b831f78545bd7d7b74a50 (patch)
treef8a4f6099df44737e876c5b22f4c1d78e419c1e3 /src/main/java/at/knowcenter/wag
parenteb5f6422e04d86aaca816df0a34c512bf120bcd0 (diff)
downloadpdf-as-3-2c0e0f40e005b490e39b831f78545bd7d7b74a50.tar.gz
pdf-as-3-2c0e0f40e005b490e39b831f78545bd7d7b74a50.tar.bz2
pdf-as-3-2c0e0f40e005b490e39b831f78545bd7d7b74a50.zip
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
Diffstat (limited to 'src/main/java/at/knowcenter/wag')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java7
1 files changed, 5 insertions, 2 deletions
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.");