aboutsummaryrefslogtreecommitdiff
path: root/id/server/auth/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-09 09:14:38 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-09 09:14:38 +0100
commitf66ed1831a4877d6c7cb3c55bbc3fd84024a1523 (patch)
tree0df50de55d7b8a82551742673c9c7e3378b3f042 /id/server/auth/src/main/webapp/WEB-INF
parent6e57e33b0d06dd59124cd61dc2f78e3545642074 (diff)
downloadmoa-id-spss-f66ed1831a4877d6c7cb3c55bbc3fd84024a1523.tar.gz
moa-id-spss-f66ed1831a4877d6c7cb3c55bbc3fd84024a1523.tar.bz2
moa-id-spss-f66ed1831a4877d6c7cb3c55bbc3fd84024a1523.zip
move main frontend GUI to seperate package
Diffstat (limited to 'id/server/auth/src/main/webapp/WEB-INF')
-rw-r--r--id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml6
-rw-r--r--id/server/auth/src/main/webapp/WEB-INF/web.xml10
2 files changed, 11 insertions, 5 deletions
diff --git a/id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml b/id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml
index 948cd3a24..f3b133585 100644
--- a/id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml
@@ -16,14 +16,16 @@
>
<context:annotation-config />
-
<mvc:annotation-driven />
- <mvc:default-servlet-handler/>
+ <context:component-scan base-package="at.gv.egovernment.moa.id.auth.frontend" />
+ <!-- <mvc:default-servlet-handler/> -->
+
<mvc:interceptors>
<bean class="at.gv.egovernment.moa.id.auth.servlet.interceptor.WebFrontEndSecurityInterceptor" />
<bean class="at.gv.egovernment.moa.id.auth.servlet.interceptor.UniqueSessionIdentifierInterceptor" />
</mvc:interceptors>
+
</beans>
diff --git a/id/server/auth/src/main/webapp/WEB-INF/web.xml b/id/server/auth/src/main/webapp/WEB-INF/web.xml
index af1603621..9ad651d42 100644
--- a/id/server/auth/src/main/webapp/WEB-INF/web.xml
+++ b/id/server/auth/src/main/webapp/WEB-INF/web.xml
@@ -1,7 +1,7 @@
<?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://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
- version="3.0">
+ 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>
@@ -21,7 +21,11 @@
<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>