<?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>DemoAppMandates</display-name> <filter> <filter-name>AuthenicationFiler</filter-name> <filter-class>at.gv.egovernment.moa.id.configuration.filter.AuthenticationFilter</filter-class> <init-param> <param-name>loginPage</param-name> <param-value>./index.action</param-value> </init-param> <init-param> <param-name>errorPage</param-name> <param-value>./error.action</param-value> </init-param> <init-param> <param-name>sessionLostPage</param-name> <param-value>./authenticate.action</param-value> </init-param> <init-param> <param-name>authenticatedPage</param-name> <param-value>./secure/main.action</param-value> </init-param> <init-param> <param-name>allowed</param-name> <param-value>^.*((/index.action.*)|(/error.action.*)|(/authenticate.action.*)|(/pvp2login.action.*)|(/mailAddressVerification.action.*)|(/logout.action)|(/jsp/.*)|(/css/.*)|(/servlet/.*)|(/images/.*)|(/js/.*))$</param-value> </init-param> </filter> <filter-mapping> <filter-name>AuthenicationFiler</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- <filter> <filter-name>sitemash</filter-name> <filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class> </filter> --> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter> <filter> <filter-name>EncodingFilter</filter-name> <filter-class>at.gv.egovernment.moa.id.configuration.filter.EncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>setResponseEncoding</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>forceResponseEncoding</param-name> <param-value>true</param-value> </init-param> </filter> <servlet> <servlet-name>pvp2login</servlet-name> <display-name>pvp2login</display-name> <servlet-class>at.gv.egovernment.moa.id.configuration.auth.pvp2.servlets.Authenticate</servlet-class> </servlet> <servlet> <servlet-name>buildmetadata</servlet-name> <display-name>buildmetadata</display-name> <servlet-class>at.gv.egovernment.moa.id.configuration.auth.pvp2.servlets.BuildMetadata</servlet-class> </servlet> <servlet> <servlet-name>slofrontchannel</servlet-name> <display-name>Single LogOut FrontChannel Service</display-name> <servlet-class>at.gv.egovernment.moa.id.configuration.auth.pvp2.servlets.SLOFrontChannelServlet</servlet-class> </servlet> <servlet> <servlet-name>slobackchannel</servlet-name> <display-name>Single LogOut BackChannel Service</display-name> <servlet-class>at.gv.egovernment.moa.id.configuration.auth.pvp2.servlets.SLOBackChannelServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>buildmetadata</servlet-name> <url-pattern>/servlet/metadata</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>pvp2login</servlet-name> <url-pattern>/servlet/pvp2login</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>slofrontchannel</servlet-name> <url-pattern>/servlet/sloFrontChannel</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>slobackchannel</servlet-name> <url-pattern>/servlet/sloBackChannel</url-pattern> </servlet-mapping> <!-- <filter-mapping> <filter-name>sitemash</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> --> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> <filter-mapping> <filter-name>EncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <session-config> <session-timeout>45</session-timeout> </session-config> <welcome-file-list> <welcome-file>/index.action</welcome-file> </welcome-file-list> </web-app>