aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java14
1 files changed, 9 insertions, 5 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 aeb5c7e..5b16211 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
@@ -63,9 +63,11 @@ public final class ConnectorChooser
log.debug("choosing locref detached MOA connector.");
- //TODO TR: Hier umschalten, wenn SwA-Requests gehen.
- return new DetachedLocRefMOAConnector(profile, loc_ref_url);
-// return new MOASoapWithAttachmentConnector(profile);
+ //TODO TR: Hier umschalten, um von SwA-Requests zurueckzuwechseln.
+ // Loc_Ref-Connector
+// return new DetachedLocRefMOAConnector(profile, loc_ref_url);
+ // SwA-Connector
+ return new MOASoapWithAttachmentConnector(profile);
}
// public static Connector chooseCommandlineConnectorForSign(String connector,
@@ -178,8 +180,10 @@ public final class ConnectorChooser
//throw new ConnectorException(370, "The MOA detached connector is not suitable for verification.");
// TODO TR: Switch her for SwA or Detached-URL Connector
- return new DetachedLocRefMOAConnector(profile, loc_ref_url);
-// return new MOASoapWithAttachmentConnector(profile);
+ // the following line is used in connection with LocRef-Connector
+// return new DetachedLocRefMOAConnector(profile, loc_ref_url);
+ // the following line is uesed in connection with SwA-Connector
+ return new MOASoapWithAttachmentConnector(profile);
}
throw new ConnectorException(310, "The SIG_KZ version '" + sig_kz.getVersion() + "' is unknown.");