From 0b3249e37b26e029c576127654dca31bff4a5a63 Mon Sep 17 00:00:00 2001 From: Bojan Suzic Date: Mon, 17 Mar 2014 18:23:52 +0100 Subject: removing old samlengine and storkcommons --- id/server/mw-messages-api/.classpath | 27 ----- id/server/mw-messages-api/.gitignore | 1 - id/server/mw-messages-api/.project | 36 ------ .../.settings/org.eclipse.core.resources.prefs | 5 - .../.settings/org.eclipse.jdt.core.prefs | 8 -- .../.settings/org.eclipse.m2e.core.prefs | 4 - .../.settings/org.eclipse.wst.common.component | 6 - .../org.eclipse.wst.common.project.facet.core.xml | 5 - .../.settings/org.eclipse.wst.validation.prefs | 2 - id/server/mw-messages-api/mw-messages-api.iml | 17 --- id/server/mw-messages-api/nb-configuration.xml | 18 --- id/server/mw-messages-api/pom.xml | 65 ----------- .../vidp/api/messages/GetAuthDataRequest.java | 52 --------- .../stork/vidp/api/messages/StartAuthResponse.java | 129 --------------------- .../eu/stork/mw/core/mwmessagesapi/AppTest.java | 38 ------ 15 files changed, 413 deletions(-) delete mode 100644 id/server/mw-messages-api/.classpath delete mode 100644 id/server/mw-messages-api/.gitignore delete mode 100644 id/server/mw-messages-api/.project delete mode 100644 id/server/mw-messages-api/.settings/org.eclipse.core.resources.prefs delete mode 100644 id/server/mw-messages-api/.settings/org.eclipse.jdt.core.prefs delete mode 100644 id/server/mw-messages-api/.settings/org.eclipse.m2e.core.prefs delete mode 100644 id/server/mw-messages-api/.settings/org.eclipse.wst.common.component delete mode 100644 id/server/mw-messages-api/.settings/org.eclipse.wst.common.project.facet.core.xml delete mode 100644 id/server/mw-messages-api/.settings/org.eclipse.wst.validation.prefs delete mode 100644 id/server/mw-messages-api/mw-messages-api.iml delete mode 100644 id/server/mw-messages-api/nb-configuration.xml delete mode 100644 id/server/mw-messages-api/pom.xml delete mode 100644 id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java delete mode 100644 id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java delete mode 100644 id/server/mw-messages-api/src/test/java/eu/stork/mw/core/mwmessagesapi/AppTest.java (limited to 'id/server/mw-messages-api') diff --git a/id/server/mw-messages-api/.classpath b/id/server/mw-messages-api/.classpath deleted file mode 100644 index c15838fd0..000000000 --- a/id/server/mw-messages-api/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id/server/mw-messages-api/.gitignore b/id/server/mw-messages-api/.gitignore deleted file mode 100644 index ea8c4bf7f..000000000 --- a/id/server/mw-messages-api/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/target diff --git a/id/server/mw-messages-api/.project b/id/server/mw-messages-api/.project deleted file mode 100644 index cc4d05bc1..000000000 --- a/id/server/mw-messages-api/.project +++ /dev/null @@ -1,36 +0,0 @@ - - - mw-messages-api - - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - org.eclipse.wst.common.project.facet.core.nature - - diff --git a/id/server/mw-messages-api/.settings/org.eclipse.core.resources.prefs b/id/server/mw-messages-api/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 839d647ee..000000000 --- a/id/server/mw-messages-api/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,5 +0,0 @@ -eclipse.preferences.version=1 -encoding//src/main/java=UTF-8 -encoding//src/main/resources=UTF-8 -encoding//src/test/java=UTF-8 -encoding/=UTF-8 diff --git a/id/server/mw-messages-api/.settings/org.eclipse.jdt.core.prefs b/id/server/mw-messages-api/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 45a6e0e0d..000000000 --- a/id/server/mw-messages-api/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,8 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/id/server/mw-messages-api/.settings/org.eclipse.m2e.core.prefs b/id/server/mw-messages-api/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f1c..000000000 --- a/id/server/mw-messages-api/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/id/server/mw-messages-api/.settings/org.eclipse.wst.common.component b/id/server/mw-messages-api/.settings/org.eclipse.wst.common.component deleted file mode 100644 index ec983b870..000000000 --- a/id/server/mw-messages-api/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/id/server/mw-messages-api/.settings/org.eclipse.wst.common.project.facet.core.xml b/id/server/mw-messages-api/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index a1f6907b8..000000000 --- a/id/server/mw-messages-api/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/id/server/mw-messages-api/.settings/org.eclipse.wst.validation.prefs b/id/server/mw-messages-api/.settings/org.eclipse.wst.validation.prefs deleted file mode 100644 index 04cad8cb7..000000000 --- a/id/server/mw-messages-api/.settings/org.eclipse.wst.validation.prefs +++ /dev/null @@ -1,2 +0,0 @@ -disabled=06target -eclipse.preferences.version=1 diff --git a/id/server/mw-messages-api/mw-messages-api.iml b/id/server/mw-messages-api/mw-messages-api.iml deleted file mode 100644 index df1c138c5..000000000 --- a/id/server/mw-messages-api/mw-messages-api.iml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/id/server/mw-messages-api/nb-configuration.xml b/id/server/mw-messages-api/nb-configuration.xml deleted file mode 100644 index c51afd41b..000000000 --- a/id/server/mw-messages-api/nb-configuration.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - JDK_1.5 - - diff --git a/id/server/mw-messages-api/pom.xml b/id/server/mw-messages-api/pom.xml deleted file mode 100644 index 0e930ff52..000000000 --- a/id/server/mw-messages-api/pom.xml +++ /dev/null @@ -1,65 +0,0 @@ - - 4.0.0 - MOA.id - mw-messages-api - jar - 2.0 - mw-messages-api - http://maven.apache.org - - hudson - https://vidp.openlimit.com:8120/hudson/job/mw-messages-api/ - - - - central - STORK-releases - https://vidp.openlimit.com:8120/artifactory/libs-release-local - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.0.2 - - 1.5 - 1.5 - ${project.build.sourceEncoding} - - - - org.apache.maven.plugins - maven-resources-plugin - 2.4 - - ${project.build.sourceEncoding} - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - config/sun_checks.xml - - - - - - - - junit - junit - 3.8.1 - test - - - - UTF-8 - - - - - diff --git a/id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java b/id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java deleted file mode 100644 index fab637408..000000000 --- a/id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * - */ -package eu.stork.vidp.api.messages; - -/** - * Encapsulates the necessary data for a GetAuthDataRequest to a SPWare - * - * @author bzwattendorfer - * - */ -public class GetAuthDataRequest { - - public GetAuthDataRequest() { - } - String sessionID; - - /** - * Constructs a GetAuthDataRequest object - * @param sessionID SessionID - */ - public GetAuthDataRequest(String sessionID) { - super(); - this.sessionID = sessionID; - } - - /** - * Gets the sessionID - * @return sessionID - */ - public String getSessionID() { - return sessionID; - } - - /** - * Sets the session ID - * @param sessionID sessionID - */ - public void setSessionID(String sessionID) { - this.sessionID = sessionID; - } - - @Override - public String toString() { - StringBuilder builder = new StringBuilder(); - builder.append("GetAuthDataRequest ["); - builder.append("sessionID="); - builder.append(sessionID); - builder.append("]"); - return builder.toString(); - } -} diff --git a/id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java b/id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java deleted file mode 100644 index df63afa0e..000000000 --- a/id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java +++ /dev/null @@ -1,129 +0,0 @@ -/** - * - */ -package eu.stork.vidp.api.messages; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.Map; -import java.util.Arrays; - -/** - * Class encapsulating the HTML content to be returned to the user's browser - * - * @author bzwattendorfer - * - */ -public class StartAuthResponse implements Serializable { - - private int httpStatusCode; - private byte[] content; - private Map httpHeaders; - - /** - * Creates a new StartAuthenticationResponse object - * @param httpStatusCode HTTP Status code to be returned to the user's browser - * @param content HTML content to be returned to the user's browser - * @param httpHeaders HTTP headers to be returned to the user's browser - */ - public StartAuthResponse() { - super(); - } - - public StartAuthResponse(int httpStatusCode, byte[] content, - Map httpHeaders) { - super(); - this.httpStatusCode = httpStatusCode; - this.content = content; - this.httpHeaders = httpHeaders; - } - - /** - * Creates a new StartAuthenticationResponse object - * @param httpStatusCode HTTP Status code to be returned to the user's browser - * @param content HTML content to be returned to the user's browser - */ - public StartAuthResponse(int httpStatusCode, byte[] content) { - super(); - this.httpStatusCode = httpStatusCode; - this.content = content; - this.httpHeaders = new HashMap(); - } - - /** - * Gets the HTTP status code - * @return HTTP status code - */ - public int getHttpStatusCode() { - return httpStatusCode; - } - - /** - * Sets the HTTP status code - * @param httpStatusCode HTTP status code - */ - public void setHttpStatusCode(int httpStatusCode) { - this.httpStatusCode = httpStatusCode; - } - - /** - * Gets the HTML content - * @return HTML content - */ - public byte[] getContent() { - return content; - } - - /** - * Sets the HTML content - * @param content HTML content - */ - public void setContent(byte[] content) { - this.content = content; - } - - /** - * Gets the Map containing the HTTP headers - * @return HTTP header map - */ - public Map getHttpHeaders() { - return httpHeaders; - } - - /** - * Sets the Map with HTTP Headers - * @param httpHeaders HTTP Headers Map - */ - public void setHttpHeaders(Map httpHeaders) { - this.httpHeaders = httpHeaders; - } - - /** - * Adds a HTTP Header to the Map - * @param key HTTP Header name - * @param value HTTP Header value - */ - public void addHeader(String key, String value) { - } - - /** - * Removes a HTTP Header - * @param key HTTP Header name - */ - public void removeHeader(String key) { - } - - @Override - public String toString() { - StringBuilder builder = new StringBuilder(); - builder.append("StartAuthResponse ["); - builder.append("content="); - builder.append(Arrays.toString(content)); - builder.append(", httpHeaders="); - builder.append(httpHeaders); - builder.append(", httpStatusCode="); - builder.append(httpStatusCode); - builder.append("]"); - return builder.toString(); - } -} diff --git a/id/server/mw-messages-api/src/test/java/eu/stork/mw/core/mwmessagesapi/AppTest.java b/id/server/mw-messages-api/src/test/java/eu/stork/mw/core/mwmessagesapi/AppTest.java deleted file mode 100644 index 8845aa855..000000000 --- a/id/server/mw-messages-api/src/test/java/eu/stork/mw/core/mwmessagesapi/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package eu.stork.mw.core.mwmessagesapi; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Unit test for simple App. - */ -public class AppTest - extends TestCase -{ - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} -- cgit v1.2.3