From 2ded3e74601d89809b8290b0896b27ddce8f35d8 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 17 Feb 2016 12:19:25 +0100 Subject: delete STORK authentication module --- .../stork/STORKProcessEngineSignalServletTest.java | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 id/server/modules/module-stork/src/test/java/at/gv/egovernment/moa/id/auth/modules/stork/STORKProcessEngineSignalServletTest.java (limited to 'id/server/modules/module-stork/src/test/java') 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)); - } - - } - -} -- cgit v1.2.3