diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-24 17:03:22 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-03-24 17:03:22 +0100 |
commit | 5848cd0057ad9f607e8c117c18481f5caebfd357 (patch) | |
tree | cec2b71ea17bfe89e8e0f188b9bdd8794dd0b25c /id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz | |
parent | 5b1f6e34fa4c9fd6c992efd347127db863fb1031 (diff) | |
download | moa-id-spss-5848cd0057ad9f607e8c117c18481f5caebfd357.tar.gz moa-id-spss-5848cd0057ad9f607e8c117c18481f5caebfd357.tar.bz2 moa-id-spss-5848cd0057ad9f607e8c117c18481f5caebfd357.zip |
update Session-Transfer-Module to restore session
Diffstat (limited to 'id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz')
-rw-r--r-- | id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz/tests/Tests.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz/tests/Tests.java b/id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz/tests/Tests.java index 57f4d11ad..0eb71ec92 100644 --- a/id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz/tests/Tests.java +++ b/id/server/modules/moa-id-module-ssoTransfer/src/test/java/at/gv/egiz/tests/Tests.java @@ -22,6 +22,10 @@ */ package at.gv.egiz.tests; +import com.google.gson.JsonObject; + +import at.gv.egovernment.moa.id.auth.modules.ssotransfer.SSOTransferConstants; + /** * @author tlenz * @@ -53,6 +57,19 @@ public class Tests { + JsonObject responseMsg = new JsonObject(); + responseMsg.addProperty( + SSOTransferConstants.SSOCONTAINER_KEY_STATUS, + "OK"); + + + JsonObject levelTwo = new JsonObject(); + levelTwo.addProperty("test", "12345"); + + responseMsg.add("levelTwo", levelTwo ); + + + System.out.println(responseMsg.toString()); // } catch (IOException e) { // // TODO Auto-generated catch block |