aboutsummaryrefslogtreecommitdiff
path: root/id/server/auth
diff options
context:
space:
mode:
authorThomas Knall <t.knall@datentechnik-innovation.com>2015-01-30 08:53:27 +0100
committerThomas Knall <t.knall@datentechnik-innovation.com>2015-01-30 08:53:27 +0100
commit6371e01c520de77b0f37f59c72dbe20fce88c91a (patch)
tree911aa029ac464d21ee3d0cdb5e33c10f8eeed199 /id/server/auth
parent88f2ac75cf316c755e35303cf2d6faa2343b9408 (diff)
downloadmoa-id-spss-6371e01c520de77b0f37f59c72dbe20fce88c91a.tar.gz
moa-id-spss-6371e01c520de77b0f37f59c72dbe20fce88c91a.tar.bz2
moa-id-spss-6371e01c520de77b0f37f59c72dbe20fce88c91a.zip
Add Spring based discovery for STORKAuthModule
- Add wildcard import to applicationContext.xml - Add some javadoc to AuthModule interface. - Remove STORKAuthModuleImpl from serviceloader based registration.
Diffstat (limited to 'id/server/auth')
-rw-r--r--id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml3
-rw-r--r--id/server/auth/src/main/webapp/WEB-INF/web.xml3
2 files changed, 5 insertions, 1 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 818524e49..d9e254451 100644
--- a/id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/id/server/auth/src/main/webapp/WEB-INF/applicationContext.xml
@@ -27,5 +27,8 @@
<bean id="authenticationManager" class="at.gv.egovernment.moa.id.moduls.AuthenticationManager" factory-method="getInstance" />
<bean id="moduleRegistration" class="at.gv.egovernment.moa.id.moduls.moduleregistration.ModuleRegistration" factory-method="getInstance" />
+
+ <!-- import auth modules -->
+ <import resource="classpath*:**/*.authmodule.beans.xml" />
</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 10c772aca..f81e01ccd 100644
--- a/id/server/auth/src/main/webapp/WEB-INF/web.xml
+++ b/id/server/auth/src/main/webapp/WEB-INF/web.xml
@@ -138,8 +138,9 @@
</servlet>
<servlet-mapping>
<servlet-name>ProcessEngineSignal</servlet-name>
+ <!-- Use this url-pattern in order to signal the next (asynchronous) task. -->
<url-pattern>/signalProcess</url-pattern>
- <!-- legacy url patterns -->
+ <!-- legacy url patterns for asynchronous tasks -->
<url-pattern>/GetMISSessionID</url-pattern>
<url-pattern>/GetForeignID</url-pattern>
<url-pattern>/VerifyAuthBlock</url-pattern>