diff options
Diffstat (limited to 'utils/webseal-simulator/src/main')
2 files changed, 0 insertions, 14 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 9780c09936..3d4e772006 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 @@ -53,10 +53,6 @@ public class Login extends HttpServlet { System.out.println("about to build login page"); response.setContentType("text/html"); PrintWriter writer = response.getWriter(); - String message = (String) request.getAttribute("message"); - if (message == null) { - message = ""; - } Collection<User> allUsers = Conf.getInstance().getUsers().values(); writer.println("<html>"); diff --git a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java index d03b93c727..7aa48e62cf 100644 --- a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java +++ b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java @@ -134,19 +134,9 @@ public class RequestsClient extends HttpServlet { try { result = IOUtils.toString(con.getErrorStream()); response.append(result); - } catch (Exception e2) { - result = null; - } - // logger.debug("Response body: {}", response); - - if (response != null) { - responseString = response.toString(); } - // Map<String, List<String>> headerFields = con.getHeaderFields(); - // String responseMessage = con.getResponseMessage(); - con.disconnect(); return responseCode; |