From 58f7580e531fea758e11e27e2097a65957a6235b Mon Sep 17 00:00:00 2001 From: knowcenter Date: Thu, 20 Sep 2007 09:40:51 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@217 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../wag/egov/egiz/sig/connectors/ConnectorChooser.java | 14 +++++++++----- 1 file 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."); -- cgit v1.2.3