diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2019-12-13 09:56:15 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2019-12-13 09:56:15 +0100 |
commit | 1292f854aa98b167a849dc0f202a1957a5ce2514 (patch) | |
tree | 9bffd9e3942d7b843af9dcddf9a13e1a2aeb5b87 /id/server/modules/moa-id-modules-federated_authentication | |
parent | ada57605a8127ee25cbb6c2999addf721ab17db1 (diff) | |
download | moa-id-spss-1292f854aa98b167a849dc0f202a1957a5ce2514.tar.gz moa-id-spss-1292f854aa98b167a849dc0f202a1957a5ce2514.tar.bz2 moa-id-spss-1292f854aa98b167a849dc0f202a1957a5ce2514.zip |
set NeedConsentFlag to 'false' if authentication was done without SSO
Diffstat (limited to 'id/server/modules/moa-id-modules-federated_authentication')
-rw-r--r-- | id/server/modules/moa-id-modules-federated_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/federatedauth/tasks/ReceiveAuthnResponseTask.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/id/server/modules/moa-id-modules-federated_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/federatedauth/tasks/ReceiveAuthnResponseTask.java b/id/server/modules/moa-id-modules-federated_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/federatedauth/tasks/ReceiveAuthnResponseTask.java index 7dce22d81..ad79d5b3b 100644 --- a/id/server/modules/moa-id-modules-federated_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/federatedauth/tasks/ReceiveAuthnResponseTask.java +++ b/id/server/modules/moa-id-modules-federated_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/federatedauth/tasks/ReceiveAuthnResponseTask.java @@ -201,6 +201,9 @@ public class ReceiveAuthnResponseTask extends AbstractAuthServletTask { pendingReq.setRawDataToTransaction(SSOManager.DATAID_INTERFEDERATIOIDP_RESPONSE, processedMsg); pendingReq.setRawDataToTransaction(SSOManager.DATAID_INTERFEDERATIOIDP_ENTITYID, processedMsg.getEntityID()); + //set NeedConsent to false, because user gives consont during authentication + pendingReq.setNeedUserConsent(false); + //store pending-request requestStoreage.storePendingRequest(pendingReq); |