aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/webapp/WEB-INF')
-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(). -->