From daba84f7b0d06481f837a468008fee3f7baf278a Mon Sep 17 00:00:00 2001 From: knowcenter Date: Mon, 3 Sep 2007 08:17:42 +0000 Subject: =?UTF-8?q?R=C3=BCckbau=20auf=20LocRef-Connector=20f=C3=BCr=20Webs?= =?UTF-8?q?ervice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@206 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../wag/egov/egiz/sig/connectors/ConnectorChooser.java | 11 +++++++---- 1 file 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."); -- cgit v1.2.3