diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-12-15 09:50:18 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-12-15 09:50:18 +0100 |
commit | 3573f8ea5a4b269834723da4708bf0bace50fa65 (patch) | |
tree | 8fb47341f59a7bef99cb0c7370d16db0210b2e95 /id/server/modules/moa-id-module-ssoTransfer | |
parent | 0f4c4e1e8c897d06a4ba4aeea9657e4036ead50d (diff) | |
parent | f03d5eb61c46186cf9d9e5a27f67fd8ac070a296 (diff) | |
download | moa-id-spss-3573f8ea5a4b269834723da4708bf0bace50fa65.tar.gz moa-id-spss-3573f8ea5a4b269834723da4708bf0bace50fa65.tar.bz2 moa-id-spss-3573f8ea5a4b269834723da4708bf0bace50fa65.zip |
Merge branch 'eIDAS_node_implementation' into development_preview
Diffstat (limited to 'id/server/modules/moa-id-module-ssoTransfer')
-rw-r--r-- | id/server/modules/moa-id-module-ssoTransfer/src/main/java/at/gv/egovernment/moa/id/auth/modules/ssotransfer/task/RestoreSSOSessionTask.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/id/server/modules/moa-id-module-ssoTransfer/src/main/java/at/gv/egovernment/moa/id/auth/modules/ssotransfer/task/RestoreSSOSessionTask.java b/id/server/modules/moa-id-module-ssoTransfer/src/main/java/at/gv/egovernment/moa/id/auth/modules/ssotransfer/task/RestoreSSOSessionTask.java index cf4590fc1..1a216f0df 100644 --- a/id/server/modules/moa-id-module-ssoTransfer/src/main/java/at/gv/egovernment/moa/id/auth/modules/ssotransfer/task/RestoreSSOSessionTask.java +++ b/id/server/modules/moa-id-module-ssoTransfer/src/main/java/at/gv/egovernment/moa/id/auth/modules/ssotransfer/task/RestoreSSOSessionTask.java @@ -184,20 +184,9 @@ public class RestoreSSOSessionTask extends AbstractAuthServletTask { //TODO: implement Signature validation Logger.debug("MobileDevice is valid. --> Starting session reconstruction ..."); - - - //session is valid --> load MOASession object - try { - defaultTaskInitialization(request, executionContext); - - } catch (MOAIDException | MOADatabaseException e1) { - Logger.error("Database Error! MOASession is not stored!"); - throw new TaskExecutionException(pendingReq, "Load MOASession FAILED.", e1); - - } - + //transfer SSO Assertion into MOA-Session - ssoTransferUtils.parseSSOContainerToMOASessionDataObject(pendingReq, moasession, attributeExtractor); + ssoTransferUtils.parseSSOContainerToMOASessionDataObject(pendingReq, pendingReq.getMOASession(), attributeExtractor); // store MOASession into database requestStoreage.storePendingRequest(pendingReq); |