diff options
author | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-06-01 08:33:13 +0000 |
---|---|---|
committer | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-06-01 08:33:13 +0000 |
commit | 3899d278a6b91d70568841eeed079534a19db6dc (patch) | |
tree | cfc0dcd3e3cbce308e7d04a3e37c3e8cfe1c18d5 /src/main/java/at/knowcenter/wag/egov | |
parent | da3ee5b40063279bd652e9853e7b531a64f7aac8 (diff) | |
download | pdf-as-3-3899d278a6b91d70568841eeed079534a19db6dc.tar.gz pdf-as-3-3899d278a6b91d70568841eeed079534a19db6dc.tar.bz2 pdf-as-3-3899d278a6b91d70568841eeed079534a19db6dc.zip |
detached moa
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@113 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/ConnectorChooser.java | 10 |
1 files changed, 4 insertions, 6 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 94b2891..4dcd1b5 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 @@ -58,10 +58,8 @@ public final class ConnectorChooser log.error("Currently only the MOA connector is available for non local WEB signation.");
}
- //log.debug("choosing locref detached MOA connector.");
- // TODO MOA detached signing is not allowed at the commandline
- log.warn("Detached MOA is not supported on the commandline. -> choosing Base64 temporarily.");
- return new EnvelopingBase64MOAConnector(profile);
+ log.debug("choosing locref detached MOA connector.");
+ return new DetachedLocRefMOAConnector(profile, loc_ref_url);
}
public static Connector chooseCommandlineConnectorForSign(String connector,
@@ -172,8 +170,8 @@ 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);
+ //throw new ConnectorException(370, "The MOA detached connector is not suitable for verification.");
+ return new DetachedLocRefMOAConnector(profile, loc_ref_url);
}
throw new ConnectorException(310, "The SIG_KZ version '" + sig_kz.getVersion() + "' is unknown.");
|