summaryrefslogtreecommitdiffstats
path: root/webseal-simulator/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'webseal-simulator/src/main/webapp')
-rw-r--r--webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml8
-rw-r--r--webseal-simulator/src/main/webapp/WEB-INF/web.xml32
-rw-r--r--webseal-simulator/src/main/webapp/login.html18
3 files changed, 58 insertions, 0 deletions
diff --git a/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml b/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml
new file mode 100644
index 0000000000..2e287bcc90
--- /dev/null
+++ b/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Configure PUBLIC
+ "-//Mort Bay Consulting//DTD Configure//EN"
+ "http://www.eclipse.org/jetty/configure_9_0.dtd">
+
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+ <Set name="contextPath">/</Set>
+</Configure>
diff --git a/webseal-simulator/src/main/webapp/WEB-INF/web.xml b/webseal-simulator/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000000..787335ea20
--- /dev/null
+++ b/webseal-simulator/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,32 @@
+<!DOCTYPE web-app PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd" >
+
+<web-app>
+
+ <display-name>Archetype Created Web Application</display-name>
+
+ <servlet>
+ <servlet-name>Proxy</servlet-name>
+ <servlet-class>org.openecomp.sdc.webseal.simulator.SdcProxy</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Proxy</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>Login</servlet-name>
+ <servlet-class>org.openecomp.sdc.webseal.simulator.Login</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Login</servlet-name>
+ <url-pattern>/login</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>login</welcome-file>
+ </welcome-file-list>
+
+</web-app>
+
diff --git a/webseal-simulator/src/main/webapp/login.html b/webseal-simulator/src/main/webapp/login.html
new file mode 100644
index 0000000000..1760fcf8e6
--- /dev/null
+++ b/webseal-simulator/src/main/webapp/login.html
@@ -0,0 +1,18 @@
+<html>
+<body>
+Login
+
+
+<form action="access" method="post">
+ ATTUID:<br>
+ <input type="text" name="attuid" >
+ <br>
+ PASSWORD:<br>
+ <input type="password" name="password" >
+ <br><br>
+ <input type="submit" value="Submit">
+
+ <label name="message"/>
+</form>
+</body>
+</html> \ No newline at end of file