hs.hsadmin/hsarweb/conf/WEB-INF/web.xml

109 lines
3.6 KiB
XML
Raw Normal View History

2010-12-15 14:15:52 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>HSAdmin</display-name>
2010-09-22 18:39:16 +02:00
<context-param>
<param-name>serverName</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@</param-value>
2010-09-22 18:39:16 +02:00
</context-param>
2010-10-05 21:43:30 +02:00
<context-param>
<param-name>backendURL</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@CONFIG_HOST@:@CONFIG_PORT@/hsar/backend</param-value>
2010-10-05 21:43:30 +02:00
</context-param>
<context-param>
<param-name>xmlrpcURL</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@CONFIG_HOST@:@CONFIG_PORT@/hsar/xmlrpc/hsadmin</param-value>
2010-10-05 21:43:30 +02:00
</context-param>
2010-12-15 14:15:52 +01:00
<context-param>
<description>Vaadin production mode</description>
<param-name>productionMode</param-name>
<param-value>false</param-value>
</context-param>
2010-09-21 20:14:58 +02:00
<filter>
<filter-name>CAS Authentication Filter</filter-name>
<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
<init-param>
<param-name>casServerLoginUrl</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@LOGIN_HOST@:@LOGIN_PORT@/cas/login</param-value>
2010-09-21 20:14:58 +02:00
</init-param>
<init-param>
<param-name>service</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value>
2010-09-21 20:14:58 +02:00
</init-param>
</filter>
<filter>
<filter-name>CAS Validation Filter</filter-name>
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
<init-param>
<param-name>casServerUrlPrefix</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@LOGIN_HOST@:@LOGIN_PORT@/cas</param-value>
2010-09-21 20:14:58 +02:00
</init-param>
<init-param>
2010-09-22 18:39:16 +02:00
<param-name>proxyReceptorUrl</param-name>
<param-value>/proxyCallback</param-value>
</init-param>
<init-param>
<param-name>proxyCallbackUrl</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb/proxyCallback</param-value>
2010-09-22 18:39:16 +02:00
</init-param>
2010-09-21 20:14:58 +02:00
<init-param>
<param-name>service</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value>
2010-09-21 20:14:58 +02:00
</init-param>
</filter>
2013-07-01 19:15:50 +02:00
<!--
2010-09-21 20:14:58 +02:00
<filter-mapping>
2010-09-22 18:39:16 +02:00
<filter-name>CAS Validation Filter</filter-name>
2010-09-21 20:14:58 +02:00
<url-pattern>/*</url-pattern>
</filter-mapping>
2010-09-22 18:39:16 +02:00
2010-09-21 20:14:58 +02:00
<filter-mapping>
2010-09-22 18:39:16 +02:00
<filter-name>CAS Authentication Filter</filter-name>
2010-09-21 20:14:58 +02:00
<url-pattern>/*</url-pattern>
</filter-mapping>
2013-07-01 19:15:50 +02:00
-->
2011-05-17 16:56:34 +02:00
<servlet>
<servlet-name>Logout Servlet</servlet-name>
<servlet-class>de.hsadmin.logout.LogoutServlet</servlet-class>
<init-param>
<param-name>redirect</param-name>
2012-10-18 14:02:04 +02:00
<param-value>@HTTPS@://@LOGIN_HOST@:@LOGIN_PORT@/cas/logout</param-value>
2011-05-17 16:56:34 +02:00
</init-param>
</servlet>
2010-09-21 20:14:58 +02:00
<servlet>
2010-12-15 14:15:52 +01:00
<servlet-name>HSAdmin Web</servlet-name>
<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
<init-param>
<description>Vaadin application class to start</description>
<param-name>application</param-name>
<param-value>de.hsadmin.web.MainApplication</param-value>
2010-12-15 14:15:52 +01:00
</init-param>
2010-09-21 20:14:58 +02:00
</servlet>
2011-05-17 16:56:34 +02:00
<servlet-mapping>
<servlet-name>Logout Servlet</servlet-name>
<url-pattern>/logout</url-pattern>
</servlet-mapping>
2010-09-21 20:14:58 +02:00
<servlet-mapping>
2010-12-15 14:15:52 +01:00
<servlet-name>HSAdmin Web</servlet-name>
2012-10-30 18:13:59 +01:00
<url-pattern>/MainApplication/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>HSAdmin Web</servlet-name>
<url-pattern>/VAADIN/*</url-pattern>
2010-09-21 20:14:58 +02:00
</servlet-mapping>
2011-05-17 16:56:34 +02:00
2010-09-21 20:14:58 +02:00
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
2010-12-15 14:15:52 +01:00
</web-app>