aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/WEB-INF/web.xml
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-27 16:04:53 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-27 16:04:53 +0200
commit06cf27605579abab9d18615d1fef701b941e06f6 (patch)
tree0bcbd12c043ea271958fe1f74c3d9630a2dc0300 /pdf-as-web/src/main/webapp/WEB-INF/web.xml
parente3d88a0a046665e8901e65ef18a1bbf741777885 (diff)
downloadpdf-as-4-06cf27605579abab9d18615d1fef701b941e06f6.tar.gz
pdf-as-4-06cf27605579abab9d18615d1fef701b941e06f6.tar.bz2
pdf-as-4-06cf27605579abab9d18615d1fef701b941e06f6.zip
added JSON API, added keep signed data flag for configuration
Diffstat (limited to 'pdf-as-web/src/main/webapp/WEB-INF/web.xml')
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/web.xml13
1 files changed, 13 insertions, 0 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 3e6b30bd..a7bb5f74 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml
@@ -139,6 +139,13 @@
<description></description>
<servlet-class>at.gv.egiz.pdfas.web.servlets.PlaceholderGeneratorServlet</servlet-class>
</servlet>
+ <servlet>
+ <servlet-name>JSONAPIServlet</servlet-name>
+ <display-name>JSONAPIServlet</display-name>
+ <description></description>
+ <servlet-class>at.gv.egiz.pdfas.web.servlets.JSONAPIServlet</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
@@ -206,6 +213,12 @@
<url-pattern>/placeholder</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>JSONAPIServlet</servlet-name>
+ <url-pattern>/api/v1/sign</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
dynamically by using HttpSession.getMaxInactiveInterval(). -->