aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--id/server/modules/moa-id-module-dummyAuth/pom.xml1
-rw-r--r--id/server/modules/moa-id-module-dummyAuth/src/main/java/at/gv/egovernment/moa/id/auth/modules/auth/dummy/task/InjectDummyIdentityInformationTask.java6
-rw-r--r--pom.xml6
3 files changed, 11 insertions, 2 deletions
diff --git a/id/server/modules/moa-id-module-dummyAuth/pom.xml b/id/server/modules/moa-id-module-dummyAuth/pom.xml
index 42b8ca775..b8f1163ad 100644
--- a/id/server/modules/moa-id-module-dummyAuth/pom.xml
+++ b/id/server/modules/moa-id-module-dummyAuth/pom.xml
@@ -9,6 +9,7 @@
<version>4.1.6-SNAPSHOT</version>
</parent>
<artifactId>moa-id-module-dummy-authenticatiuon</artifactId>
+ <version>${moa-id-dummy-auth.version}</version>
<description>Module for dummy authentication in MOA-ID</description>
<dependencies>
diff --git a/id/server/modules/moa-id-module-dummyAuth/src/main/java/at/gv/egovernment/moa/id/auth/modules/auth/dummy/task/InjectDummyIdentityInformationTask.java b/id/server/modules/moa-id-module-dummyAuth/src/main/java/at/gv/egovernment/moa/id/auth/modules/auth/dummy/task/InjectDummyIdentityInformationTask.java
index 8fed1c544..5eb441bc9 100644
--- a/id/server/modules/moa-id-module-dummyAuth/src/main/java/at/gv/egovernment/moa/id/auth/modules/auth/dummy/task/InjectDummyIdentityInformationTask.java
+++ b/id/server/modules/moa-id-module-dummyAuth/src/main/java/at/gv/egovernment/moa/id/auth/modules/auth/dummy/task/InjectDummyIdentityInformationTask.java
@@ -75,6 +75,12 @@ public class InjectDummyIdentityInformationTask extends AbstractAuthServletTask
Logger.debug("Injecting user credentials for Dummy-Identity authentication ... ");
parseDemoValuesIntoMOASession(pendingReq);
+ // set 'needConsent' to false, because user gives consent during authentication
+ pendingReq.setNeedUserConsent(false);
+
+ // set 'authenticated' flag to true
+ pendingReq.setAuthenticated(true);
+
// store MOASession into database
requestStoreage.storePendingRequest(pendingReq);
diff --git a/pom.xml b/pom.xml
index 4469daed2..3625fc973 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,8 @@
<!-- Project Version -->
<moa-id-version>4.1.6-SNAPSHOT</moa-id-version>
+ <moa-id-dummy-auth.version>4.1.5.2</moa-id-dummy-auth.version>
+
<moa-id-version-final>4.1.6-SNAPSHOT</moa-id-version-final>
<moa-id-version-edu>4.1.6-SNAPSHOT</moa-id-version-edu>
@@ -667,8 +669,8 @@
<dependency>
<groupId>MOA.id.server.modules</groupId>
- <artifactId>moa-id-module-dummy-authenticatiuon</artifactId>
- <version>${moa-id-version}</version>
+ <artifactId>moa-id-module-dummy-authenticatiuon</artifactId>
+ <version>${moa-id-dummy-auth.version}</version>
</dependency>