From b2968bef5d56723826cfe38f1fe5ab1d60aa79f3 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:53:11 +0000 Subject: State Machine refactoring git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@23 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java | 4 +++- .../src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'pdf-over-signer/pdf-over-sigpdfas/src/main/java/at') diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java index 3c03a018..02fccca0 100644 --- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java +++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java @@ -32,12 +32,14 @@ public class PDFASSLRequest implements SLRequest { **/ private static final Logger log = LoggerFactory.getLogger(PDFASSLRequest.class); + private String request; + /** * Default constructor * @param slRequest */ public PDFASSLRequest(String slRequest) { - //TODO: Analyze Request ... + this.request = slRequest; } @Override diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java index 949bbce1..cf93c96c 100644 --- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java +++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java @@ -76,6 +76,8 @@ public class PDFASSigner implements Signer { String slRequest = pdfasInternal.prepareLocalSignRequest(params, false, URL_TEMPLATE, sdi); + //DataSource sig_data = sdi.getSignatureData(); + PDFASSLRequest request = new PDFASSLRequest(slRequest); state.setSignatureRequest(request); -- cgit v1.2.3