diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2013-07-26 17:07:15 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2013-07-26 17:07:15 +0200 |
commit | 99694b29f82f858f5b6163e6a3d6c11caaeb487e (patch) | |
tree | b46883533cd71c9f47047c38b5c43469a311a731 /id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml | |
parent | cc2e2e4ecf5bd8c4bbe16edba5a7d63fa808adcb (diff) | |
download | moa-id-spss-99694b29f82f858f5b6163e6a3d6c11caaeb487e.tar.gz moa-id-spss-99694b29f82f858f5b6163e6a3d6c11caaeb487e.tar.bz2 moa-id-spss-99694b29f82f858f5b6163e6a3d6c11caaeb487e.zip |
Configuration Web-Application
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..c680c875e --- /dev/null +++ b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,83 @@ +<?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>/</param-value> + </init-param> + <init-param> + <param-name>authenticatedPage</param-name> + <param-value>main.action</param-value> + </init-param> + <init-param> + <param-name>allowed</param-name> + <param-value>^.*((/index.action)|(/error.action)|(/jsp/.*)|(/css/.*)|(/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.iaik.commons.webapp.filter.encoding.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> --> + +<!-- <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> --> + + + <welcome-file-list> + <welcome-file>/index.action</welcome-file> + </welcome-file-list> +</web-app> |