<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2.2.dtd'>

<web-app>
  <display-name>Web</display-name>
  <description>Web Components of the Living Talks Conference Tool</description>
  <servlet>
    <servlet-name>Export feature</servlet-name>
    <display-name>Export feature</display-name>
    <description>Export JSP.
Specified to provide an alias name
MSIE is stupid enough to need .xml-suffix</description>
    <jsp-file>exportdata.jsp</jsp-file>
  </servlet>
  <servlet>
    <servlet-name>TypePage</servlet-name>
    <display-name>JSPs</display-name>
    <description>Bundle of JSPs making the manager view.</description>
    <jsp-file>type.jsp</jsp-file>
  </servlet>
  <servlet-mapping>
    <servlet-name>Export feature</servlet-name>
    <url-pattern>exportdata.xml</url-pattern>
  </servlet-mapping>
  <session-config>
    <session-timeout>30</session-timeout>
  </session-config>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>
  <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/lterror.jsp</location>
  </error-page>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Login</web-resource-name>
      <description>no description</description>
      <url-pattern>loginsuccess.jsp</url-pattern>
      <http-method>POST</http-method>
      <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
      <description>no description</description>
      <role-name>publisher</role-name>
      <role-name>editor</role-name>
      <role-name>master</role-name>
    </auth-constraint>
    <user-data-constraint>
      <description>no description</description>
      <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Importing</web-resource-name>
      <description>no description</description>
      <url-pattern>import.jsp</url-pattern>
      <http-method>POST</http-method>
      <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
      <description>no description</description>
      <role-name>editor</role-name>
      <role-name>master</role-name>
    </auth-constraint>
    <user-data-constraint>
      <description>no description</description>
      <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Editing</web-resource-name>
      <description>no description</description>
      <url-pattern>type.jsp</url-pattern>
      <url-pattern>author.jsp</url-pattern>
      <url-pattern>exportdata.xml</url-pattern>
      <url-pattern>export.jsp</url-pattern>
      <url-pattern>pitem.jsp</url-pattern>
      <url-pattern>exportdata.jsp</url-pattern>
      <url-pattern>talk.jsp</url-pattern>
      <url-pattern>track.jsp</url-pattern>
      <url-pattern>block.jsp</url-pattern>
      <url-pattern>session.jsp</url-pattern>
      <http-method>POST</http-method>
      <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
      <description>no description</description>
      <role-name>editor</role-name>
      <role-name>master</role-name>
    </auth-constraint>
    <user-data-constraint>
      <description>no description</description>
      <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Publishing</web-resource-name>
      <description>no description</description>
      <url-pattern>publish/publish.jsp</url-pattern>
      <http-method>POST</http-method>
      <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
      <description>no description</description>
      <role-name>publisher</role-name>
      <role-name>master</role-name>
    </auth-constraint>
    <user-data-constraint>
      <description>no description</description>
      <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
  <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>default</realm-name>
    <form-login-config>
      <form-login-page>/livingtalks/login.jsp</form-login-page>
      <form-error-page>/livingtalks/loginerror.jsp</form-error-page>
    </form-login-config>
  </login-config>
  <security-role>
    <description>The superuser or administrator</description>
    <role-name>master</role-name>
  </security-role>
  <security-role>
    <description>anonymous users</description>
    <role-name>any</role-name>
  </security-role>
  <security-role>
    <description>People who may edit the model</description>
    <role-name>editor</role-name>
  </security-role>
  <security-role>
    <description>People who may update the program</description>
    <role-name>publisher</role-name>
  </security-role>
  <ejb-ref>
    <description>no description</description>
    <ejb-ref-name>ejb/type</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.livis.livingtalks.TypeHome</home>
    <remote>com.livis.livingtalks.Type</remote>
  </ejb-ref>
</web-app>


