aboutsummaryrefslogtreecommitdiff
path: root/id/server/auth-final/src/main/webapp
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-09 12:14:18 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-09 12:14:18 +0100
commitd60ceb70869148deb9f85751c63460fa245a8c7f (patch)
tree9d81d11d69d40d614cb3c189f3f5e5e38c6e2d6e /id/server/auth-final/src/main/webapp
parent04a8a85a7092f460e30553394ae415ad9bed18ed (diff)
downloadmoa-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-final/src/main/webapp')
-rw-r--r--id/server/auth-final/src/main/webapp/META-INF/MANIFEST.MF2
-rw-r--r--id/server/auth-final/src/main/webapp/WEB-INF/web.xml47
-rw-r--r--id/server/auth-final/src/main/webapp/index.html0
3 files changed, 49 insertions, 0 deletions
diff --git a/id/server/auth-final/src/main/webapp/META-INF/MANIFEST.MF b/id/server/auth-final/src/main/webapp/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..58630c02e
--- /dev/null
+++ b/id/server/auth-final/src/main/webapp/META-INF/MANIFEST.MF
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
diff --git a/id/server/auth-final/src/main/webapp/WEB-INF/web.xml b/id/server/auth-final/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 000000000..9ad651d42
--- /dev/null
+++ b/id/server/auth-final/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>
diff --git a/id/server/auth-final/src/main/webapp/index.html b/id/server/auth-final/src/main/webapp/index.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/id/server/auth-final/src/main/webapp/index.html