aboutsummaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/src/main/java/org
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-08-17 21:18:39 +0300
committerTal Gitelman <tg851x@intl.att.com>2017-08-17 21:18:39 +0300
commit857a51651a97324e8628a5f2b4591116eef1bcc1 (patch)
tree8f357b7c8707cf18e9223c8cf490dd56bdbca965 /utils/webseal-simulator/src/main/java/org
parente8dc876ea02cd9fcaaea028aaa56ea27ea0d8f13 (diff)
[SDC-154] - sdc-simulator docker task
Change-Id: Ife75655d7ad0a6566a93ebabed217566f17ee246 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'utils/webseal-simulator/src/main/java/org')
-rw-r--r--utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java
index db4853a8f1..2798f68563 100644
--- a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java
+++ b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java
@@ -112,8 +112,8 @@ public class Login extends HttpServlet {
System.out.println("Login -> doPOst userId=" + userId);
User user = getUser(userId, password);
if (user == null) {
- request.setAttribute("message", "ERROR: userId or password incorect");
- doGet(request, response);
+ response.sendError(500, "ERROR: userId or password incorect");
+// doGet(request, response);
} else {
System.out.println("Login -> doPOst redirext to /sdc1 (to proxy)");
Cookie cookieUser = new Cookie("HTTP_IV_USER", user.getUserId());