moved to this app from share directory to avoid conflict with rememberme app rel-2_0-alpha1
authormaxcooper <maxcooper>
Mon, 26 Jan 2004 11:04:02 +0000 (11:04 +0000)
committermaxcooper <maxcooper>
Mon, 26 Jan 2004 11:04:02 +0000 (11:04 +0000)
web/catalina-example/loginForm.jsp [new file with mode: 0644]
web/example/loginForm.jsp [new file with mode: 0644]

diff --git a/web/catalina-example/loginForm.jsp b/web/catalina-example/loginForm.jsp
new file mode 100644 (file)
index 0000000..34d37c4
--- /dev/null
@@ -0,0 +1,35 @@
+<%@ page import="org.securityfilter.example.Constants"%>
+
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title><%=Constants.LOGIN_TITLE%></title>
+</head>
+<body>
+
+<h1><%=Constants.LOGIN_TITLE%></h1>
+
+<%@include file="/menu.jsp" %>
+
+Login with username=<i><%=Constants.VALID_USERNAME%></i>
+and password=<i><%=Constants.VALID_PASSWORD%></i>.
+
+<form id="<%=Constants.LOGIN_FORM_ID%>" action="<%=response.encodeURL(Constants.LOGIN_FORM_ACTION)%>" method="POST">
+
+Username:
+<input type="text"
+   name="<%=Constants.LOGIN_USERNAME_FIELD%>"
+   value="<%=Constants.VALID_USERNAME%>"
+><p>
+
+Password:
+<input type="password"
+   name="<%=Constants.LOGIN_PASSWORD_FIELD%>"
+   value="<%=Constants.VALID_PASSWORD%>"
+><p>
+
+<input type="Submit">
+
+</form>
+</body>
+</html>
\ No newline at end of file
diff --git a/web/example/loginForm.jsp b/web/example/loginForm.jsp
new file mode 100644 (file)
index 0000000..34d37c4
--- /dev/null
@@ -0,0 +1,35 @@
+<%@ page import="org.securityfilter.example.Constants"%>
+
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title><%=Constants.LOGIN_TITLE%></title>
+</head>
+<body>
+
+<h1><%=Constants.LOGIN_TITLE%></h1>
+
+<%@include file="/menu.jsp" %>
+
+Login with username=<i><%=Constants.VALID_USERNAME%></i>
+and password=<i><%=Constants.VALID_PASSWORD%></i>.
+
+<form id="<%=Constants.LOGIN_FORM_ID%>" action="<%=response.encodeURL(Constants.LOGIN_FORM_ACTION)%>" method="POST">
+
+Username:
+<input type="text"
+   name="<%=Constants.LOGIN_USERNAME_FIELD%>"
+   value="<%=Constants.VALID_USERNAME%>"
+><p>
+
+Password:
+<input type="password"
+   name="<%=Constants.LOGIN_PASSWORD_FIELD%>"
+   value="<%=Constants.VALID_PASSWORD%>"
+><p>
+
+<input type="Submit">
+
+</form>
+</body>
+</html>
\ No newline at end of file