diff options
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java | 6 | ||||
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java index 99e51d31..f9b42ef2 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java @@ -32,11 +32,15 @@ import at.gv.egiz.pdfas.lib.api.sign.SignParameter; public class PDFASSession implements Serializable { + private static final long serialVersionUID = 1L; + public static final String SESSION_TAG = "PDFASSession"; - + private StatusRequest statusRequest; private SignParameter signParameter; + @SuppressWarnings("unused") private Configuration config; + @SuppressWarnings("unused") private PdfAs pdfAs; public PDFASSession(SignParameter parameter) { diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java index db933a6b..2d14a99a 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java @@ -458,8 +458,8 @@ public class PdfAsHelper { HttpSession session = request.getSession(); StatusRequest statusRequest = (StatusRequest) session .getAttribute(PDF_STATUS); - IPlainSigner plainSigner = (IPlainSigner) session - .getAttribute(PDF_SIGNER); +// IPlainSigner plainSigner = (IPlainSigner) session +// .getAttribute(PDF_SIGNER); String connector = (String) session.getAttribute(PDF_SL_INTERACTIVE); @@ -470,8 +470,8 @@ public class PdfAsHelper { // TODO Handle logic for BKU interaction - Configuration config = (Configuration) session - .getAttribute(PDF_CONFIG); +// Configuration config = (Configuration) session +// .getAttribute(PDF_CONFIG); if (statusRequest.needCertificate()) { logger.info("Needing Certificate from BKU"); |