aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorThomas Knall <t.knall@datentechnik-innovation.com>2015-01-16 15:11:48 +0100
committerThomas Knall <t.knall@datentechnik-innovation.com>2015-01-16 15:11:48 +0100
commite6e2bbf9a6e4df5e714ab10babae013317bf8422 (patch)
treee6a7a0ecde150f15fc895ebf106f5373a1be7269 /id/server/idserverlib/src/main
parent92717efaa56e3d0f7c271b91483507cf981b417b (diff)
downloadmoa-id-spss-e6e2bbf9a6e4df5e714ab10babae013317bf8422.tar.gz
moa-id-spss-e6e2bbf9a6e4df5e714ab10babae013317bf8422.tar.bz2
moa-id-spss-e6e2bbf9a6e4df5e714ab10babae013317bf8422.zip
Add dti-process-engine support.
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java4
-rw-r--r--id/server/idserverlib/src/main/resources/resources/processes/DefaultAuthentication.process.xml15
2 files changed, 18 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java
index e5b2c598c..eb480e37c 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java
@@ -67,6 +67,8 @@ import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
+import com.datentechnik.process_engine.springweb.AbstractAuthSourceServlet;
+
import at.gv.egovernment.moa.id.advancedlogging.StatisticLogger;
import at.gv.egovernment.moa.id.auth.MOAIDAuthConstants;
import at.gv.egovernment.moa.id.auth.exception.AuthenticationException;
@@ -88,7 +90,7 @@ import at.gv.egovernment.moa.util.URLDecoder;
* @author Paul Ivancsics
* @version $Id$
*/
-public class AuthServlet extends HttpServlet implements MOAIDAuthConstants {
+public class AuthServlet extends AbstractAuthSourceServlet implements MOAIDAuthConstants {
/**
*
diff --git a/id/server/idserverlib/src/main/resources/resources/processes/DefaultAuthentication.process.xml b/id/server/idserverlib/src/main/resources/resources/processes/DefaultAuthentication.process.xml
new file mode 100644
index 000000000..a2b25e24e
--- /dev/null
+++ b/id/server/idserverlib/src/main/resources/resources/processes/DefaultAuthentication.process.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pd:ProcessDefinition id="DefaultAuthentication" xmlns:pd="http://www.datentechnik.com/process-engine/processdefinition/v1">
+
+<!--
+ - National authentication with Austrian Citizen Card and mobile signature.
+ - Legacy authentication for foreign citizens using MOCCA supported signature cards.
+-->
+
+ <pd:StartEvent id="start" />
+
+ <pd:Transition from="start" to="end" />
+
+ <pd:EndEvent id="end" />
+
+</pd:ProcessDefinition>