diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-09 12:14:18 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-09 12:14:18 +0100 |
commit | d60ceb70869148deb9f85751c63460fa245a8c7f (patch) | |
tree | 9d81d11d69d40d614cb3c189f3f5e5e38c6e2d6e /id/server/auth-edu/src/main/webapp/WEB-INF | |
parent | 04a8a85a7092f460e30553394ae415ad9bed18ed (diff) | |
download | moa-id-spss-d60ceb70869148deb9f85751c63460fa245a8c7f.tar.gz moa-id-spss-d60ceb70869148deb9f85751c63460fa245a8c7f.tar.bz2 moa-id-spss-d60ceb70869148deb9f85751c63460fa245a8c7f.zip |
split moa-id-auth in a final- and an edjucation- version
Diffstat (limited to 'id/server/auth-edu/src/main/webapp/WEB-INF')
-rw-r--r-- | id/server/auth-edu/src/main/webapp/WEB-INF/web.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/id/server/auth-edu/src/main/webapp/WEB-INF/web.xml b/id/server/auth-edu/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..9ad651d42 --- /dev/null +++ b/id/server/auth-edu/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" + version="3.1"> + <display-name>MOA ID Auth</display-name> + <description>MOA ID Authentication Service</description> + + <filter> + <filter-name>characterEncodingFilter</filter-name> + <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> + <init-param> + <param-name>encoding</param-name> + <param-value>UTF-8</param-value> + </init-param> + <init-param> + <param-name>forceEncoding</param-name> + <param-value>true</param-value> + </init-param> + </filter> + <filter-mapping> + <filter-name>characterEncodingFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <welcome-file-list> + <welcome-file>index.html</welcome-file> + </welcome-file-list> + + <session-config> + <session-timeout>5</session-timeout> + </session-config> + + <error-page> + <error-code>500</error-code> + <location>/errorpage.jsp</location> + </error-page> + + <login-config> + <auth-method>BASIC</auth-method> + <realm-name>UserDatabase</realm-name> + </login-config> + <security-role> + <description>The role that is required to log in to the moa Application</description> + <role-name>moa-admin</role-name> + </security-role> + +</web-app> |