Auth API improvements, logout link.
[guacamole.git] / src / main / webapp / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Guacamole - Clientless Remote Desktop
4     Copyright (C) 2010  Michael Jumper
5
6     This program is free software: you can redistribute it and/or modify
7     it under the terms of the GNU Affero General Public License as published by
8     the Free Software Foundation, either version 3 of the License, or
9     (at your option) any later version.
10
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU Affero General Public License for more details.
15
16     You should have received a copy of the GNU Affero General Public License
17     along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
20
21     <!-- Basic config -->
22     <welcome-file-list>
23         <welcome-file>index.xhtml</welcome-file>
24     </welcome-file-list>
25     <session-config>
26         <session-timeout>
27                         30
28         </session-timeout>
29     </session-config>
30
31     <!-- Basic Login Servlet -->
32     <servlet>
33         <description>Login servlet.</description>
34         <servlet-name>Login</servlet-name>
35         <servlet-class>net.sourceforge.guacamole.net.basic.BasicLogin</servlet-class>
36     </servlet>
37     <servlet-mapping>
38         <servlet-name>Login</servlet-name>
39         <url-pattern>/login</url-pattern>
40     </servlet-mapping>
41
42     <!-- Basic Logout Servlet -->
43     <servlet>
44         <description>Logout servlet.</description>
45         <servlet-name>Logout</servlet-name>
46         <servlet-class>net.sourceforge.guacamole.net.basic.BasicLogout</servlet-class>
47     </servlet>
48     <servlet-mapping>
49         <servlet-name>Logout</servlet-name>
50         <url-pattern>/logout</url-pattern>
51     </servlet-mapping>
52
53     <!-- Configuration List Servlet -->
54     <servlet>
55         <description>Configuration list servlet.</description>
56         <servlet-name>Configs</servlet-name>
57         <servlet-class>net.sourceforge.guacamole.net.basic.ConfigurationList</servlet-class>
58     </servlet>
59     <servlet-mapping>
60         <servlet-name>Configs</servlet-name>
61         <url-pattern>/configs</url-pattern>
62     </servlet-mapping>
63
64     <!-- Guacamole Tunnel Servlet -->
65     <servlet>
66         <description>Tunnel servlet.</description>
67         <servlet-name>Tunnel</servlet-name>
68         <servlet-class>net.sourceforge.guacamole.net.basic.BasicGuacamoleTunnelServlet</servlet-class>
69     </servlet>
70     <servlet-mapping>
71         <servlet-name>Tunnel</servlet-name>
72         <url-pattern>/tunnel</url-pattern>
73     </servlet-mapping>
74
75 </web-app>