diff options
author | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-09-03 08:17:42 +0000 |
---|---|---|
committer | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-09-03 08:17:42 +0000 |
commit | daba84f7b0d06481f837a468008fee3f7baf278a (patch) | |
tree | bf4386c091acbd3a05d6bf27aa1c677a1d95615b /src | |
parent | 3f54d90a546fd84af1b27ed8db51d59eaa33906b (diff) | |
download | pdf-as-3-daba84f7b0d06481f837a468008fee3f7baf278a.tar.gz pdf-as-3-daba84f7b0d06481f837a468008fee3f7baf278a.tar.bz2 pdf-as-3-daba84f7b0d06481f837a468008fee3f7baf278a.zip |
Rückbau auf LocRef-Connector für Webservice
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@206 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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.");
|