aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-08-24 11:24:11 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-08-24 11:24:11 +0000
commit663befbf21984bf42cfd92a7d37a6fe3504db6e8 (patch)
tree75d561536647db4bd009f5e8e6eeb1fcbd753854 /src/main/java
parent9279a1bbe071a4cebb1cd69c160cee374ed5811d (diff)
downloadpdf-as-3-663befbf21984bf42cfd92a7d37a6fe3504db6e8.tar.gz
pdf-as-3-663befbf21984bf42cfd92a7d37a6fe3504db6e8.tar.bz2
pdf-as-3-663befbf21984bf42cfd92a7d37a6fe3504db6e8.zip
TR: Update zu SwA-Kommunikation mit MOA-SS/SP
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@190 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java b/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java
index 2bc6a58..7a8283e 100644
--- a/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java
+++ b/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java
@@ -50,8 +50,12 @@ public class CommandlineConnectorChooser
if (connectorType.equals(MOA))
{
// TODO MOA detached signing is not allowed at the commandline
- log.warn("Detached MOA is not supported on the commandline. -> choosing Base64 temporarily.");
- return ConnectorFactory.ENVELOPING_BASE64_MOA_CONNECTOR;
+
+ // TR: wurde erweitert um detached MOA-Signaturen
+ // log.warn("Detached MOA is not supported on the commandline. -> choosing Base64 temporarily.");
+ // return ConnectorFactory.ENVELOPING_BASE64_MOA_CONNECTOR;
+
+ return ConnectorFactory.DETACHED_LOCREF_MOA_CONNECTOR;
}
throw new ConnectorException(300, "Unknown connector type '" + connectorType + "' specified.");
@@ -158,9 +162,10 @@ public class CommandlineConnectorChooser
{
log.debug("sig_app is MOA ==> DetachedMOAConnector"); //$NON-NLS-1$
- String msg = "A Detached signature cannot be verified with the MOA connector (yet)."; //$NON-NLS-1$
- log.error(msg);
- throw new ConnectorException(370, msg);
+// String msg = "A Detached signature cannot be verified with the MOA connector (yet)."; //$NON-NLS-1$
+// log.error(msg);
+// throw new ConnectorException(370, msg);
+ return ConnectorFactory.DETACHED_LOCREF_MOA_CONNECTOR;
}
throw new ConnectorException(310, "Unknown sig_app '" + sig_app + "'."); //$NON-NLS-1$ //$NON-NLS-2$
}