aboutsummaryrefslogtreecommitdiff
path: root/connector/src/main/resources
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-07-02 18:11:51 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-07-02 18:11:51 +0200
commit60c09e4d552828ec1521ed7ad0ca2a3fd3492e3a (patch)
tree29548cfb5281c3098038c683f80808d7536168d2 /connector/src/main/resources
parentae550884f5467f6ff6df23100686bc54e100d2d4 (diff)
downloadNational_eIDAS_Gateway-60c09e4d552828ec1521ed7ad0ca2a3fd3492e3a.tar.gz
National_eIDAS_Gateway-60c09e4d552828ec1521ed7ad0ca2a3fd3492e3a.tar.bz2
National_eIDAS_Gateway-60c09e4d552828ec1521ed7ad0ca2a3fd3492e3a.zip
add country selection
Diffstat (limited to 'connector/src/main/resources')
-rw-r--r--connector/src/main/resources/META-INF/services/at.gv.egiz.eaaf.core.api.idp.auth.modules.AuthModule1
-rw-r--r--connector/src/main/resources/processes/CountrySelection.process.xml15
-rw-r--r--connector/src/main/resources/specific_eIDAS_connector.beans.xml20
3 files changed, 36 insertions, 0 deletions
diff --git a/connector/src/main/resources/META-INF/services/at.gv.egiz.eaaf.core.api.idp.auth.modules.AuthModule b/connector/src/main/resources/META-INF/services/at.gv.egiz.eaaf.core.api.idp.auth.modules.AuthModule
new file mode 100644
index 00000000..813eba42
--- /dev/null
+++ b/connector/src/main/resources/META-INF/services/at.gv.egiz.eaaf.core.api.idp.auth.modules.AuthModule
@@ -0,0 +1 @@
+at.gv.egiz.eidas.specific.connector.processes.CountrySelectionProcessImpl \ No newline at end of file
diff --git a/connector/src/main/resources/processes/CountrySelection.process.xml b/connector/src/main/resources/processes/CountrySelection.process.xml
new file mode 100644
index 00000000..e4e23e64
--- /dev/null
+++ b/connector/src/main/resources/processes/CountrySelection.process.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pd:ProcessDefinition id="CountrySelectionProcess" xmlns:pd="http://reference.e-government.gv.at/namespace/moa/process/definition/v1">
+
+ <pd:Task id="initializeCountrySelection" class="GenerateCountrySelectionFrameTask"/>
+ <pd:Task id="parseCountrySelection" class="EvaluateCountrySelectionTask" async="true"/>
+ <pd:Task id="restartAuthProzessManagement" class="RestartAuthProzessManagement"/>
+
+ <pd:StartEvent id="start" />
+ <pd:Transition from="start" to="initializeCountrySelection" />
+ <pd:Transition from="initializeCountrySelection" to="parseCountrySelection" />
+ <pd:Transition from="parseCountrySelection" to="restartAuthProzessManagement" />
+ <pd:Transition from="restartAuthProzessManagement" to="end" />
+ <pd:EndEvent id="end" />
+
+</pd:ProcessDefinition>
diff --git a/connector/src/main/resources/specific_eIDAS_connector.beans.xml b/connector/src/main/resources/specific_eIDAS_connector.beans.xml
index 1e61d0d6..16a1cae7 100644
--- a/connector/src/main/resources/specific_eIDAS_connector.beans.xml
+++ b/connector/src/main/resources/specific_eIDAS_connector.beans.xml
@@ -14,6 +14,10 @@
<context:annotation-config />
<mvc:annotation-driven />
<mvc:default-servlet-handler/>
+
+ <bean id="ProcessEngineSignalController"
+ class="at.gv.egiz.eidas.specific.connector.controller.ProcessEngineSignalController"/>
+
<bean id="SimpleInMemoryTransactionStorage"
class="at.gv.egiz.eidas.specific.connector.storage.SimpleInMemoryTransactionStorage" />
@@ -40,6 +44,12 @@
</property>
</bean>
+ <bean id="AuthnRequestValidator"
+ class="at.gv.egiz.eidas.specific.connector.verification.AuthnRequestValidator" />
+
+ <bean id="SAMLVerificationEngine"
+ class="at.gv.egiz.eaaf.modules.pvp2.impl.verification.SAMLVerificationEngine" />
+
<bean id="pvpMetadataService"
class="at.gv.egiz.eaaf.modules.pvp2.idp.impl.MetadataAction">
<property name="pvpIDPCredentials">
@@ -78,4 +88,14 @@
<bean id="DummyStatisticLogger"
class="at.gv.egiz.eaaf.core.impl.logging.DummyStatisticLogger" />
+
+ <!-- Tasks -->
+ <bean id="GenerateCountrySelectionFrameTask"
+ class="at.gv.egiz.eidas.specific.connector.processes.tasks.GenerateCountrySelectionFrameTask"
+ scope="prototype"/>
+
+ <bean id="EvaluateCountrySelectionTask"
+ class="at.gv.egiz.eidas.specific.connector.processes.tasks.EvaluateCountrySelectionTask"
+ scope="prototype"/>
+
</beans> \ No newline at end of file