<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">

    <description>
      EGIZ PDF-AS
    </description>
    <display-name>PDF-AS</display-name>
    
    <context-param>
      <description>
        The working directory of PDF-AS.
        Points to a directory on the local file system where templates, config files, certificates etc. are found.
        If empty, the base of the web application will be chosen.
      </description>
      <param-name></param-name>
      <param-value>override this in your context file (pdf-as.xml)</param-value>
    </context-param>

    <listener>
      <listener-class>at.knowcenter.wag.egov.egiz.web.PdfASServletContextListener</listener-class>
    </listener>

    <servlet>
      <servlet-name>Sign</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.SignServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>ProvidePDF</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.ProvidePDFServlet</servlet-class>
    </servlet>		

    <servlet>
      <servlet-name>SignPreview</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.SignPreviewServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>RetrieveSignatureData</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.RetrieveSignatureDataServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>DataURL</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.DataURLServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>Verify</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.VerifyServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>VerifyPreview</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.servlets.VerifyPreviewServlet</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>AsynchronousDataResponder</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.AsynchronousDataResponder</servlet-class>
    </servlet>

    <servlet>
      <servlet-name>AsynchronousRedirectResponder</servlet-name>
      <servlet-class>at.knowcenter.wag.egov.egiz.web.AsynchronousRedirectResponder</servlet-class>
    </servlet>


    <servlet-mapping>
        <servlet-name>Sign</servlet-name>
        <url-pattern>/Sign</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>ProvidePDF</servlet-name>
        <url-pattern>/ProvidePDF</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>SignPreview</servlet-name>
        <url-pattern>/SignPreview</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>RetrieveSignatureData</servlet-name>
        <url-pattern>/RetrieveSignatureData</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>DataURL</servlet-name>
        <url-pattern>/DataURL</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>Verify</servlet-name>
        <url-pattern>/Verify</url-pattern>
    </servlet-mapping>
    
    <servlet-mapping>
        <servlet-name>VerifyPreview</servlet-name>
        <url-pattern>/VerifyPreview</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>AsynchronousDataResponder</servlet-name>
        <url-pattern>/AsynchronousDataResponder</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>AsynchronousRedirectResponder</servlet-name>
        <url-pattern>/AsynchronousRedirectResponder</url-pattern>
    </servlet-mapping>

    <session-config>
        <session-timeout>5</session-timeout>
    </session-config>


</web-app>