aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-09-20 09:40:51 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-09-20 09:40:51 +0000
commit58f7580e531fea758e11e27e2097a65957a6235b (patch)
tree6eaa5f0cf55f2294a5f14ba4c67d9bca7a9ebdcc /src/main/java/at
parenta7779dde744c87cf1084abc960a4fd8175d29f18 (diff)
downloadpdf-as-3-58f7580e531fea758e11e27e2097a65957a6235b.tar.gz
pdf-as-3-58f7580e531fea758e11e27e2097a65957a6235b.tar.bz2
pdf-as-3-58f7580e531fea758e11e27e2097a65957a6235b.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@217 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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.");