<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

<web-app>
  <display-name>Security-Layer-Interface to MOA SPSS</display-name>
  <description>This web service provides a Security-Layer-Interface to MOA SPSS.</description>

  <filter>
    <filter-name>SL2MOAFilter</filter-name>
    <filter-class>at.gv.egovernment.moa.spss.slinterface.filters.SL2MOAFilter</filter-class>
  </filter>
  
  <filter-mapping>
    <filter-name>SL2MOAFilter</filter-name>
    <servlet-name>MOAServlet</servlet-name>
  </filter-mapping>

  <listener>
    <listener-class>at.gv.egovernment.moa.spss.slinterface.listeners.ContextListener</listener-class>
  </listener>  

  <servlet>
    <servlet-name>MOAServlet</servlet-name>
    <display-name>MOA Servlet</display-name>
    <servlet-class>
      at.gv.egovernment.moa.spss.slinterface.servlets.MOAServlet
    </servlet-class>
    <load-on-startup>0</load-on-startup>
  </servlet>

  <servlet>
    <servlet-name>HashInputDataServlet</servlet-name>
    <display-name>Displays a particular hash input data</display-name>
    <servlet-class>
      at.gv.egovernment.moa.spss.slinterface.servlets.HashInputDataServlet
    </servlet-class>
    <load-on-startup>0</load-on-startup>
  </servlet>

  <servlet>
    <servlet-name>ReturnServlet</servlet-name>
    <display-name>Return servlet</display-name>
    <servlet-class>
      at.gv.egovernment.moa.spss.slinterface.servlets.ReturnServlet
    </servlet-class>
    <load-on-startup>0</load-on-startup>
  </servlet>

  <!-- For test purposes only -->
  <servlet>
    <servlet-name>DataURLServlet</servlet-name>
    <display-name>DataURL test servlet</display-name>
    <servlet-class>
      test.at.gv.egovernment.moa.spss.slinterface.DataURLServlet
    </servlet-class>
    <load-on-startup>0</load-on-startup>
  </servlet>

  <!-- For test purposes only -->
  <servlet>
    <servlet-name>RewriteServlet</servlet-name>
    <display-name>URL rewriting test servlet</display-name>
    <servlet-class>
      test.at.gv.egovernment.moa.spss.slinterface.RewriteServlet
    </servlet-class>
    <load-on-startup>0</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>MOAServlet</servlet-name>
    <url-pattern>/http-security-layer-request</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>HashInputDataServlet</servlet-name>
    <url-pattern>/showdata</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>ReturnServlet</servlet-name>
    <url-pattern>/return</url-pattern>
  </servlet-mapping>

  <!-- For test purposes only -->
  <servlet-mapping>
    <servlet-name>DataURLServlet</servlet-name>
    <url-pattern>/dataurl</url-pattern>
  </servlet-mapping>

  <!-- For test purposes only -->
  <servlet-mapping>
    <servlet-name>RewriteServlet</servlet-name>
    <url-pattern>/rewrite</url-pattern>
  </servlet-mapping>

</web-app>