aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-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.");