summaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/src/main/java
diff options
context:
space:
mode:
authorliang ding <liang.ding@intel.com>2018-11-11 19:00:43 -0800
committerMichael Lando <michael.lando@intl.att.com>2018-11-13 16:22:27 +0000
commit796d72125bc961822db0b01d2fc086c62fe12266 (patch)
tree1bc322c759bed48797952da9bbf7a59438fc9146 /utils/webseal-simulator/src/main/java
parentc52c3072387ba5caec0b8ca5d58b429a6e39b798 (diff)
fix two typos
Change-Id: Icc3ca322d687365f29051ed8d3a27696d16ad16c Issue-ID: SDC-1910 Signed-off-by: liang ding <liang.ding@intel.com>
Diffstat (limited to 'utils/webseal-simulator/src/main/java')
-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 a19b94094b..89d4a848e3 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
@@ -107,13 +107,13 @@ public class Login extends HttpServlet {
String password = request.getParameter("password");
request.setAttribute("message", "OK");
- System.out.println("Login -> doPOst userId=" + userId);
+ System.out.println("Login -> doPost userId=" + userId);
User user = getUser(userId, password);
if (user == null) {
response.sendError(500, "ERROR: userId or password incorrect");
// doGet(request, response);
} else {
- System.out.println("Login -> doPOst redirext to /sdc1 (to proxy)");
+ System.out.println("Login -> doPost redirect to /sdc1 (to proxy)");
Cookie cookieUser = new Cookie("HTTP_IV_USER", user.getUserId());
Cookie cookieUserId = new Cookie("USER_ID", user.getUserId());
Cookie cookieFirstName = new Cookie("HTTP_CSP_FIRSTNAME", user.getFirstName());