diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java | 11 |
1 files changed, 7 insertions, 4 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 ae133fc..aeb5c7e 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 @@ -62,8 +62,10 @@ public final class ConnectorChooser }
log.debug("choosing locref detached MOA connector.");
-// return new DetachedLocRefMOAConnector(profile, loc_ref_url);
- return new MOASoapWithAttachmentConnector(profile);
+
+ //TODO TR: Hier umschalten, wenn SwA-Requests gehen.
+ return new DetachedLocRefMOAConnector(profile, loc_ref_url);
+// return new MOASoapWithAttachmentConnector(profile);
}
// public static Connector chooseCommandlineConnectorForSign(String connector,
@@ -175,8 +177,9 @@ 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 MOASoapWithAttachmentConnector(profile);
+ // TODO TR: Switch her for SwA or Detached-URL Connector
+ return new DetachedLocRefMOAConnector(profile, loc_ref_url);
+// return new MOASoapWithAttachmentConnector(profile);
}
throw new ConnectorException(310, "The SIG_KZ version '" + sig_kz.getVersion() + "' is unknown.");
|