aboutsummaryrefslogtreecommitdiff
path: root/id/server/legacy-backup/mw-messages-api/src/main/java/eu
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-02-17 07:00:09 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-02-17 07:00:09 +0100
commit07c6114a266a67abd404bac8703c1a17e035d69d (patch)
tree893d8a4873566b2bf3d4dc8d35d02e636a9d38cd /id/server/legacy-backup/mw-messages-api/src/main/java/eu
parent274a85e53fa8c06a869f2bb3a7bd24300ee9b3fd (diff)
downloadmoa-id-spss-07c6114a266a67abd404bac8703c1a17e035d69d.tar.gz
moa-id-spss-07c6114a266a67abd404bac8703c1a17e035d69d.tar.bz2
moa-id-spss-07c6114a266a67abd404bac8703c1a17e035d69d.zip
remove STORK code --> MOA-ID >= 3.2 only supports eIDAS protocol
Diffstat (limited to 'id/server/legacy-backup/mw-messages-api/src/main/java/eu')
-rw-r--r--id/server/legacy-backup/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java52
-rw-r--r--id/server/legacy-backup/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java129
2 files changed, 0 insertions, 181 deletions
diff --git a/id/server/legacy-backup/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java b/id/server/legacy-backup/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/GetAuthDataRequest.java
deleted file mode 100644
index fab637408..000000000
--- a/id/server/legacy-backup/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/legacy-backup/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java b/id/server/legacy-backup/mw-messages-api/src/main/java/eu/stork/vidp/api/messages/StartAuthResponse.java
deleted file mode 100644
index df63afa0e..000000000
--- a/id/server/legacy-backup/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();
- }
-}