diff options
author | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-05-14 14:17:33 +0000 |
---|---|---|
committer | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-05-14 14:17:33 +0000 |
commit | caf09420c13783519f57351666ad81b3c65d942f (patch) | |
tree | 6c8b6f6a9b23995ea592c646db5a71b0ea5c3558 /src/main/java/at/knowcenter/wag/egov | |
parent | 8e3ed85168edaeadcd4f3ec92450036a399d6ede (diff) | |
download | pdf-as-3-caf09420c13783519f57351666ad81b3c65d942f.tar.gz pdf-as-3-caf09420c13783519f57351666ad81b3c65d942f.tar.bz2 pdf-as-3-caf09420c13783519f57351666ad81b3c65d942f.zip |
removed the debug file output
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@74 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/bku/DetachedMultipartBKUConnector.java | 54 |
1 files changed, 22 insertions, 32 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/DetachedMultipartBKUConnector.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/DetachedMultipartBKUConnector.java index b30c9e2..6c30655 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/DetachedMultipartBKUConnector.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/DetachedMultipartBKUConnector.java @@ -124,17 +124,17 @@ public class DetachedMultipartBKUConnector String response_string = response_properties.getProperty(BKUPostConnection.RESPONSE_STRING_KEY);
// TODO debug
- try
- {
- FileOutputStream fos = new FileOutputStream("C:\\wprinz\\Filer\\egiz2\\sign_response.utf8.xml"); //$NON-NLS-1$
- OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8"); //$NON-NLS-1$
- osw.write(response_string);
- osw.close();
- }
- catch (Exception e)
- {
- log.error(e);
- }
+// try
+// {
+// FileOutputStream fos = new FileOutputStream("C:\\wprinz\\Filer\\egiz2\\sign_response.utf8.xml"); //$NON-NLS-1$
+// OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8"); //$NON-NLS-1$
+// osw.write(response_string);
+// osw.close();
+// }
+// catch (Exception e)
+// {
+// log.error(e);
+// }
checkResponseForError(response_string);
@@ -541,17 +541,6 @@ public class DetachedMultipartBKUConnector String url = this.environment.getSignURL();
Properties response_properties = sendRequest(url, sign_request_xml, data);
- try
- {
- FileOutputStream fos = new FileOutputStream("C:\\wprinz\\Filer\\egiz2\\sign_response.utf8.xml"); //$NON-NLS-1$
- fos.write(response_properties.getProperty("response_string").getBytes("UTF-8")); //$NON-NLS-1$ //$NON-NLS-2$
- fos.close();
- }
- catch (Exception e)
- {
- log.error(e);
- }
-
SignSignatureObject sso = analyzeSignResponse(response_properties);
// TODO this could be made more generic
@@ -579,16 +568,17 @@ public class DetachedMultipartBKUConnector String verify_request_xml = prepareVerifyRequestDetached(data, so);
log.debug("verify_request_xml = " + verify_request_xml); //$NON-NLS-1$
- try
- {
- FileOutputStream fos = new FileOutputStream("C:\\wprinz\\Filer\\egiz2\\verify_request.utf8.xml"); //$NON-NLS-1$
- fos.write(verify_request_xml.getBytes("UTF-8")); //$NON-NLS-1$
- fos.close();
- }
- catch (Exception e)
- {
- log.error(e);
- }
+ // TODO debug
+// try
+// {
+// FileOutputStream fos = new FileOutputStream("C:\\wprinz\\Filer\\egiz2\\verify_request.utf8.xml"); //$NON-NLS-1$
+// fos.write(verify_request_xml.getBytes("UTF-8")); //$NON-NLS-1$
+// fos.close();
+// }
+// catch (Exception e)
+// {
+// log.error(e);
+// }
String url = this.environment.getVerifyURL();
Properties response_properties = sendRequest(url, verify_request_xml, data);
|