aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/module-stork/src/test/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-02-17 12:19:25 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-02-17 12:19:25 +0100
commit2ded3e74601d89809b8290b0896b27ddce8f35d8 (patch)
tree1cf85f33a0321aa4a1f7ca19818ffc6339c1ce50 /id/server/modules/module-stork/src/test/java
parent07c6114a266a67abd404bac8703c1a17e035d69d (diff)
downloadmoa-id-spss-2ded3e74601d89809b8290b0896b27ddce8f35d8.tar.gz
moa-id-spss-2ded3e74601d89809b8290b0896b27ddce8f35d8.tar.bz2
moa-id-spss-2ded3e74601d89809b8290b0896b27ddce8f35d8.zip
delete STORK authentication module
Diffstat (limited to 'id/server/modules/module-stork/src/test/java')
-rw-r--r--id/server/modules/module-stork/src/test/java/at/gv/egovernment/moa/id/auth/modules/stork/STORKProcessEngineSignalServletTest.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/id/server/modules/module-stork/src/test/java/at/gv/egovernment/moa/id/auth/modules/stork/STORKProcessEngineSignalServletTest.java b/id/server/modules/module-stork/src/test/java/at/gv/egovernment/moa/id/auth/modules/stork/STORKProcessEngineSignalServletTest.java
deleted file mode 100644
index ab2d3071f..000000000
--- a/id/server/modules/module-stork/src/test/java/at/gv/egovernment/moa/id/auth/modules/stork/STORKProcessEngineSignalServletTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package at.gv.egovernment.moa.id.auth.modules.stork;
-
-import static org.junit.Assert.*;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.apache.commons.io.IOUtils;
-import org.junit.Test;
-import org.springframework.mock.web.MockHttpServletRequest;
-
-public class STORKProcessEngineSignalServletTest {
-
- @Test
- public void testGetMoaSessionId() throws IOException {
- try (InputStream in = getClass().getResourceAsStream("SAMLResponse.base64")) {
- String samlResponse = IOUtils.toString(in);
-
- MockHttpServletRequest request = new MockHttpServletRequest("GET", "/service/createTransactionId");
- request.addParameter("SAMLResponse", samlResponse);
- assertEquals("_f2358f2f4db445bd1ac75ce415d76a95",
- new STORKProcessEngineSignalServlet().getMoaSessionId(request));
- }
-
- }
-
-}