diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-05-14 11:39:11 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-05-14 11:39:11 +0200 |
commit | b0003ddc4bebc411c5a3296bf5f172b80b443525 (patch) | |
tree | 5af48939e06b4e2bd2f8ffb59d36be6698102f23 /pdf-as-web/src/main/webapp | |
parent | b7360b8707496e07930df209a84d1ff45767e38d (diff) | |
download | pdf-as-4-b0003ddc4bebc411c5a3296bf5f172b80b443525.tar.gz pdf-as-4-b0003ddc4bebc411c5a3296bf5f172b80b443525.tar.bz2 pdf-as-4-b0003ddc4bebc411c5a3296bf5f172b80b443525.zip |
Added Verification functionality, + some Log Level fixes
Diffstat (limited to 'pdf-as-web/src/main/webapp')
-rw-r--r-- | pdf-as-web/src/main/webapp/WEB-INF/web.xml | 22 | ||||
-rw-r--r-- | pdf-as-web/src/main/webapp/verifystart.jsp | 2 |
2 files changed, 22 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/web.xml b/pdf-as-web/src/main/webapp/WEB-INF/web.xml index 800c4505..85811ff0 100644 --- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml +++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml @@ -76,6 +76,18 @@ <description></description> <servlet-class>at.gv.egiz.pdfas.web.servlets.ErrorPage</servlet-class> </servlet> + <servlet> + <servlet-name>PDFVerifyData</servlet-name> + <display-name>PDFVerifyData</display-name> + <description></description> + <servlet-class>at.gv.egiz.pdfas.web.servlets.PDFSignatureData</servlet-class> + </servlet> + <servlet> + <servlet-name>PDFVerifyCert</servlet-name> + <display-name>PDFVerifyCert</display-name> + <description></description> + <servlet-class>at.gv.egiz.pdfas.web.servlets.PDFSignatureCertificateData</servlet-class> + </servlet> <!-- Define mappings that are used by the servlet container to translate a particular request URI (context-relative) to a particular servlet. The @@ -104,7 +116,7 @@ </servlet-mapping> <servlet-mapping> <servlet-name>VerifyServlet</servlet-name> - <url-pattern>/VerifyServlet</url-pattern> + <url-pattern>/Verify</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>PDFData</servlet-name> @@ -114,6 +126,14 @@ <servlet-name>ErrorPage</servlet-name> <url-pattern>/ErrorPage</url-pattern> </servlet-mapping> + <servlet-mapping> + <servlet-name>PDFVerifyData</servlet-name> + <url-pattern>/signData</url-pattern> + </servlet-mapping> + <servlet-mapping> + <servlet-name>PDFVerifyCert</servlet-name> + <url-pattern>/signCert</url-pattern> + </servlet-mapping> <!-- Define the default session timeout for your application, in minutes. From a servlet or JSP page, you can modify the timeout for a particular session diff --git a/pdf-as-web/src/main/webapp/verifystart.jsp b/pdf-as-web/src/main/webapp/verifystart.jsp index 8a5af476..86795d23 100644 --- a/pdf-as-web/src/main/webapp/verifystart.jsp +++ b/pdf-as-web/src/main/webapp/verifystart.jsp @@ -3,7 +3,7 @@ </head> <body> <h1>Verify PDF-Dokument</h1> -<form action="Sign" method="POST" enctype="multipart/form-data"> +<form action="Verify" method="POST" enctype="multipart/form-data"> <input type="file" name="pdf-file" /> |