8b9e266f5a
ssh://hsh04-source@hsh04.hostsharing.net/home/doms/source.hostsharing.net/source/hsadmin.git Conflicts: hsarweb/src/de/hsadmin/web/AbstractModule.java
108 lines
3.6 KiB
XML
108 lines
3.6 KiB
XML
<?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>
|
|
|
|
<context-param>
|
|
<param-name>serverName</param-name>
|
|
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>backendURL</param-name>
|
|
<param-value>@HTTPS@://@CONFIG_HOST@:@CONFIG_PORT@/hsar/backend</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>xmlrpcURL</param-name>
|
|
<param-value>@HTTPS@://@CONFIG_HOST@:@CONFIG_PORT@/hsar/xmlrpc/hsadmin</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<description>Vaadin production mode</description>
|
|
<param-name>productionMode</param-name>
|
|
<param-value>false</param-value>
|
|
</context-param>
|
|
|
|
<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>
|
|
<param-value>@HTTPS@://@LOGIN_HOST@:@LOGIN_PORT@/cas/login</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>service</param-name>
|
|
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value>
|
|
</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>
|
|
<param-value>@HTTPS@://@LOGIN_HOST@:@LOGIN_PORT@/cas</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>proxyReceptorUrl</param-name>
|
|
<param-value>/proxyCallback</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>proxyCallbackUrl</param-name>
|
|
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb/proxyCallback</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>service</param-name>
|
|
<param-value>@HTTPS@://@ADMIN_HOST@:@ADMIN_PORT@/hsarweb</param-value>
|
|
</init-param>
|
|
</filter>
|
|
|
|
<!--
|
|
<filter-mapping>
|
|
<filter-name>CAS Validation Filter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<filter-mapping>
|
|
<filter-name>CAS Authentication Filter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
-->
|
|
<servlet>
|
|
<servlet-name>Logout Servlet</servlet-name>
|
|
<servlet-class>de.hsadmin.logout.LogoutServlet</servlet-class>
|
|
<init-param>
|
|
<param-name>redirect</param-name>
|
|
<param-value>@HTTPS@://@LOGIN_HOST@:@LOGIN_PORT@/cas/logout</param-value>
|
|
</init-param>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<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>
|
|
</init-param>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>Logout Servlet</servlet-name>
|
|
<url-pattern>/logout</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>HSAdmin Web</servlet-name>
|
|
<url-pattern>/MainApplication/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>HSAdmin Web</servlet-name>
|
|
<url-pattern>/VAADIN/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<welcome-file-list>
|
|
<welcome-file>index.jsp</welcome-file>
|
|
</welcome-file-list>
|
|
</web-app> |