aboutsummaryrefslogtreecommitdiff
path: root/id/server/mw-messages-api
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-17 18:23:52 +0100
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-17 18:23:52 +0100
commit0b3249e37b26e029c576127654dca31bff4a5a63 (patch)
treefb4b0ce3d24928ccb4052f44ced7135ddc480028 /id/server/mw-messages-api
parent60ac2a89fce86eb1e8344eb22535cfdd0b9aa147 (diff)
downloadmoa-id-spss-0b3249e37b26e029c576127654dca31bff4a5a63.tar.gz
moa-id-spss-0b3249e37b26e029c576127654dca31bff4a5a63.tar.bz2
moa-id-spss-0b3249e37b26e029c576127654dca31bff4a5a63.zip
removing old samlengine and storkcommons
Diffstat (limited to 'id/server/mw-messages-api')
-rw-r--r--id/server/mw-messages-api/.classpath27
-rw-r--r--id/server/mw-messages-api/.gitignore1
-rw-r--r--id/server/mw-messages-api/.project36
-rw-r--r--id/server/mw-messages-api/.settings/org.eclipse.core.resources.prefs5
-rw-r--r--id/server/mw-messages-api/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--id/server/mw-messages-api/.settings/org.eclipse.m2e.core.prefs4
-rw-r--r--id/server/mw-messages-api/.settings/org.eclipse.wst.common.component6
-rw-r--r--id/server/mw-messages-api/.settings/org.eclipse.wst.common.project.facet.core.xml5
-rw-r--r--id/server/mw-messages-api/.settings/org.eclipse.wst.validation.prefs2
-rw-r--r--id/server/mw-messages-api/mw-messages-api.iml17
-rw-r--r--id/server/mw-messages-api/nb-configuration.xml18
-rw-r--r--id/server/mw-messages-api/pom.xml65
-rw-r--r--id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java52
-rw-r--r--id/server/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java129
-rw-r--r--id/server/mw-messages-api/src/test/java/eu/stork/mw/core/mwmessagesapi/AppTest.java38
15 files changed, 0 insertions, 413 deletions
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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java">
- <attributes>
- <attribute name="optional" value="true"/>
- <attribute name="maven.pomderived" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java">
- <attributes>
- <attribute name="optional" value="true"/>
- <attribute name="maven.pomderived" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
- <attributes>
- <attribute name="maven.pomderived" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
- <attributes>
- <attribute name="maven.pomderived" value="true"/>
- <attribute name="org.eclipse.jst.component.nondependency" value=""/>
- </attributes>
- </classpathentry>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>mw-messages-api</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.wst.common.project.facet.core.builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.validation.validationbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.m2e.core.maven2Builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.m2e.core.maven2Nature</nature>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
- </natures>
-</projectDescription>
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/<project>=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 @@
-<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
- <wb-module deploy-name="mw-messages-api">
- <wb-resource deploy-path="/" source-path="/src/main/java"/>
- <wb-resource deploy-path="/" source-path="/src/main/resources"/>
- </wb-module>
-</project-modules>
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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<faceted-project>
- <installed facet="java" version="1.5"/>
- <installed facet="jst.utility" version="1.0"/>
-</faceted-project>
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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
- <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
- <output url="file://$MODULE_DIR$/target/classes" />
- <output-test url="file://$MODULE_DIR$/target/test-classes" />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
- <excludeFolder url="file://$MODULE_DIR$/target" />
- </content>
- <orderEntry type="inheritedJdk" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
- </component>
-</module>
-
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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-shared-configuration>
- <!--
-This file contains additional configuration written by modules in the NetBeans IDE.
-The configuration is intended to be shared among all the users of project and
-therefore it is assumed to be part of version control checkout.
-Without this configuration present, some functionality in the IDE may be limited or fail altogether.
--->
- <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
- <!--
-Properties that influence various parts of the IDE, especially code formatting and the like.
-You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
-That way multiple projects can share the same settings (useful for formatting rules for example).
-Any value defined here will override the pom.xml file value but is only applicable to the current project.
--->
- <netbeans.hint.jdkPlatform>JDK_1.5</netbeans.hint.jdkPlatform>
- </properties>
-</project-shared-configuration>
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 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>MOA.id</groupId>
- <artifactId>mw-messages-api</artifactId>
- <packaging>jar</packaging>
- <version>2.0</version>
- <name>mw-messages-api</name>
- <url>http://maven.apache.org</url>
- <ciManagement>
- <system>hudson</system>
- <url>https://vidp.openlimit.com:8120/hudson/job/mw-messages-api/</url>
- </ciManagement>
- <distributionManagement>
- <repository>
- <id>central</id>
- <name>STORK-releases</name>
- <url>https://vidp.openlimit.com:8120/artifactory/libs-release-local</url>
- </repository>
-</distributionManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <configLocation>config/sun_checks.xml</configLocation>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-</project>
-
-
-
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<String, String> 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<String, String> 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<String, String>();
- }
-
- /**
- * 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<String, String> getHttpHeaders() {
- return httpHeaders;
- }
-
- /**
- * Sets the Map with HTTP Headers
- * @param httpHeaders HTTP Headers Map
- */
- public void setHttpHeaders(Map<String, String> 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 );
- }
-}