geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r232332 - in /geronimo/trunk/applications/console-framework/src/webapp: WEB-INF/web.xml login.html login.jsp loginerror.html loginerror.jsp
Date Fri, 12 Aug 2005 16:38:09 GMT
Author: jgenender
Date: Fri Aug 12 09:38:02 2005
New Revision: 232332

URL: http://svn.apache.org/viewcvs?rev=232332&view=rev
Log:
Converted login.html and loginerror.html to jsps for servlet 2.4 compatibility (security is
a forward instead of redir under 2.4).

Added:
    geronimo/trunk/applications/console-framework/src/webapp/login.jsp
    geronimo/trunk/applications/console-framework/src/webapp/loginerror.jsp
Removed:
    geronimo/trunk/applications/console-framework/src/webapp/login.html
    geronimo/trunk/applications/console-framework/src/webapp/loginerror.html
Modified:
    geronimo/trunk/applications/console-framework/src/webapp/WEB-INF/web.xml

Modified: geronimo/trunk/applications/console-framework/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console-framework/src/webapp/WEB-INF/web.xml?rev=232332&r1=232331&r2=232332&view=diff
==============================================================================
--- geronimo/trunk/applications/console-framework/src/webapp/WEB-INF/web.xml (original)
+++ geronimo/trunk/applications/console-framework/src/webapp/WEB-INF/web.xml Fri Aug 12 09:38:02
2005
@@ -70,8 +70,8 @@
         <auth-method>FORM</auth-method>
         <realm-name>geronimo-properties-realm</realm-name>
         <form-login-config>
-            <form-login-page>/login.html</form-login-page>
-            <form-error-page>/loginerror.html</form-error-page>
+            <form-login-page>/login.jsp</form-login-page>
+            <form-error-page>/loginerror.jsp</form-error-page>
       </form-login-config>
     </login-config>
     <security-role>

Added: geronimo/trunk/applications/console-framework/src/webapp/login.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console-framework/src/webapp/login.jsp?rev=232332&view=auto
==============================================================================
--- geronimo/trunk/applications/console-framework/src/webapp/login.jsp (added)
+++ geronimo/trunk/applications/console-framework/src/webapp/login.jsp Fri Aug 12 09:38:02
2005
@@ -0,0 +1,227 @@
+<html>
+<head>
+<title>Geronimo Console Login</title>
+<link href="<%=request.getContextPath()%>/main.css" rel="stylesheet" type="text/css">
+<link rel="SHORTCUT ICON" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon"/>
+</head>
+
+<body onload="document.login.j_username.focus()" leftmargin="0" topmargin="0" rightmargin="0">
+
+<form name="login" action="j_security_check" method="POST">
+  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
+    <tr>
+		  <td>
+			  <table width="100%" border="0" cellspacing="0" cellpadding="0">
+				  <tr>
+						<td class="Logo" width="200">GERONIMO CONSOLE</td>
+						<td class="Top">&nbsp;</td>
+					</tr>
+				</table>
+			</td>
+    </tr>
+    <tr>
+      <td>&nbsp;</td>
+    </tr>
+    <tr>
+      <td class="Content"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+        <tr>
+          <td width="10">&nbsp;</td>
+          <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+            <tr>
+              <td width="10" class="TopLeft">&nbsp;</td>
+              <td class="Title">WELCOME TO Geronimo Console&#8482;</td>
+              <td width="10" class="TopRight">&nbsp;</td>
+            </tr>
+            <tr>
+              <td class="Left">&nbsp;</td>
+              <td class="Body">&nbsp;</td>
+              <td class="Right">&nbsp;</td>
+            </tr>
+            <tr>
+              <td width="10" height="200" class="Left">&nbsp;</td>
+              <td height="200" valign="top" class="Body"><table width="100%"  border="0"
cellspacing="0" cellpadding="0">
+                <tr>
+                  <td align="center" valign="top"><table width="100%"  border="0"
cellspacing="1" cellpadding="5">
+                    <tr>
+                      <td width="5">&nbsp;</td>
+                      <td> <strong>GERONIMO&#8482;</strong> is a Java-certified,
production-grade platform designed to allow developers to rapidly deploy and manage their
applications. The result is an integrated, highly functional application platform that leverages
the latest innovations from the open source community and simplifies application deployment
and maintenance. </td>
+                      <td width="5">&nbsp;</td>
+                    </tr>
+                    <tr>
+                      <td>&nbsp;</td>
+                      <td>&nbsp;</td>
+                      <td>&nbsp;</td>
+                    </tr>
+                    <tr>
+                      <td>&nbsp;</td>
+                      <td> <p><strong>Geronimo Console&#8482;</strong>
has integrated the following components: </p>
+                        <p>&#149;&nbsp; Application server (Apache Geronimo)
</p>
+                        <p>&#149;&nbsp; Web server and servlet engine (Jetty)
</p>
+                        <p>&#149;&nbsp; JSP compiler (Jasper) </p>
+                        <p>&#149;&nbsp; Relational database (Apache Derby)
</p>
+                        <p>&#149;&nbsp; JSR 168 portlet container (Apache Pluto)
</p>
+                        <p>&#149;&nbsp; Messaging (ActiveMQ) </p>
+                        <p>&#149;&nbsp; User management services </p>
+                        <p>&#149;&nbsp; Centralized administration console
</p>
+                      <td>&nbsp;</td>
+                    </tr>
+                  </table></td>
+                  <td width="10">&nbsp;</td>
+                  <td width="350" height="300" align="center" valign="top">       
            <table width="250" cellpadding="0" cellspacing="0" border="0">
+                      <tr>
+                        <td class="DarkBackground">&nbsp;</td>
+                        <td width="50" class="DarkBackground">LOGIN</td>
+                        <td class="DarkBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td width="6" class="LightBackground">&nbsp;</td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground"><strong>Username</strong></td>
+                              <td class="LightBackground"><strong>:</strong></td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground"><input name="j_username"
type="text" class="InputField" value="" size="20px" maxlength="25"/></td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground"><strong>Password</strong></td>
+                              <td class="LightBackground"><strong>:</strong></td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground"><input name="j_password"
type="password" class="InputField" value="" size="20px" maxlength="25"/></td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td colspan="4" align="center" class="LightBackground"><input
name="submit" type="submit" value="Login"/></td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                        </table></td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="DarkBackground">&nbsp;</td>
+                        <td class="DarkBackground">&nbsp;</td>
+                        <td class="DarkBackground">&nbsp;</td>
+                      </tr>
+                    </table>
+                    <p>&nbsp;</p></td>
+                </tr>
+              </table></td>
+              <td width="10" height="200" class="Right">&nbsp;</td>
+            </tr>
+            <tr>
+              <td class="Left">&nbsp;</td>
+              <td class="Body">&nbsp;</td>
+              <td class="Right">&nbsp;</td>
+            </tr>
+            <tr>
+              <td width="10" class="BottomLeft">&nbsp;</td>
+              <td class="Footer">&nbsp;</td>
+              <td width="10" class="BottomRight">&nbsp;</td>
+            </tr>
+          </table></td>
+          <td width="10">&nbsp;</td>
+          <td width="300" valign="top">            <table width="100%"  border="0"
cellspacing="0" cellpadding="0">
+              <tr>
+                <td width="10">&nbsp;</td>
+                <td><img src="<%=request.getContextPath()%>/images/related_links.gif"></td>
+                <td width="10">&nbsp;</td>
+              </tr>
+              <tr>
+                <td height="7"><img src="<%=request.getContextPath()%>/images/spacer.gif"></td>
+                <td height="7" class="Body"><img src="<%=request.getContextPath()%>/images/spacer.gif"></td>
+                <td height="7"><img src="<%=request.getContextPath()%>/images/spacer.gif"></td>
+              </tr>
+              <tr>
+                <td width="10">&nbsp;</td>
+                <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+                  <tr>
+                    <td align="center">&nbsp;</td>
+                    <td>&nbsp;</td>
+                    <td>&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td width="20" align="center"><img src="<%=request.getContextPath()%>/images/bullet.gif"></td>
+                    <td><a href="http://">Technical Support</a></td>
+                    <td width="10">&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td align="center">&nbsp;</td>
+                    <td>&nbsp;</td>
+                    <td>&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td width="20" align="center"><img src="<%=request.getContextPath()%>/images/bullet.gif"></td>
+                    <td><a href="http://">Download Updates</a> </td>
+                    <td width="10">&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td align="center">&nbsp;</td>
+                    <td>&nbsp;</td>
+                    <td>&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td width="20" align="center"><img src="<%=request.getContextPath()%>/images/bullet.gif"></td>
+                    <td><a href="http://">Mailing List</a></td>
+                    <td width="10">&nbsp;</td>
+                  </tr>
+                </table></td>
+                <td width="10">&nbsp;</td>
+              </tr>
+            </table>
+            </td>
+          <td width="10">&nbsp;</td>
+        </tr>
+      </table></td>
+    </tr>
+    <tr>
+      <td>&nbsp;</td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>

Added: geronimo/trunk/applications/console-framework/src/webapp/loginerror.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console-framework/src/webapp/loginerror.jsp?rev=232332&view=auto
==============================================================================
--- geronimo/trunk/applications/console-framework/src/webapp/loginerror.jsp (added)
+++ geronimo/trunk/applications/console-framework/src/webapp/loginerror.jsp Fri Aug 12 09:38:02
2005
@@ -0,0 +1,237 @@
+<html>
+<head>
+<title>Geronimo Console Login</title>
+<link href="<%=request.getContextPath()%>/main.css" rel="stylesheet" type="text/css">
+<link rel="SHORTCUT ICON" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon"/>
+</head>
+
+<body onload="document.login.j_username.focus()" leftmargin="0" topmargin="0" rightmargin="0">
+
+<form name="login" action="j_security_check" method="POST">
+  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
+    <tr>
+		  <td>
+			  <table width="100%" border="0" cellspacing="0" cellpadding="0">
+				  <tr>
+						<td class="Logo" width="200">GERONIMO CONSOLE</td>
+						<td class="Top">&nbsp;</td>
+					</tr>
+				</table>
+			</td>
+    </tr>
+    <tr>
+      <td>&nbsp;</td>
+    </tr>
+    <tr>
+      <td class="Content"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+        <tr>
+          <td width="10">&nbsp;</td>
+          <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+            <tr>
+              <td width="10" class="TopLeft">&nbsp;</td>
+              <td class="Title">WELCOME TO Geronimo Console&#8482;</td>
+              <td width="10" class="TopRight">&nbsp;</td>
+            </tr>
+            <tr>
+              <td class="Left">&nbsp;</td>
+              <td class="Body">&nbsp;</td>
+              <td class="Right">&nbsp;</td>
+            </tr>
+            <tr>
+              <td width="10" height="200" class="Left">&nbsp;</td>
+              <td height="200" valign="top" class="Body"><table width="100%"  border="0"
cellspacing="0" cellpadding="0">
+                <tr>
+                  <td align="center" valign="top"><table width="100%"  border="0"
cellspacing="1" cellpadding="5">
+                    <tr>
+                      <td width="5">&nbsp;</td>
+                      <td> <strong>GERONIMO&#8482;</strong> is a Java-certified,
production-grade platform designed to allow developers to rapidly deploy and manage their
applications. The result is an integrated, highly functional application platform that leverages
the latest innovations from the open source community and simplifies application deployment
and maintenance. </td>
+                      <td width="5">&nbsp;</td>
+                    </tr>
+                    <tr>
+                      <td>&nbsp;</td>
+                      <td>&nbsp;</td>
+                      <td>&nbsp;</td>
+                    </tr>
+                    <tr>
+                      <td>&nbsp;</td>
+                      <td> <p><strong>Geronimo Console&#8482;</strong>
has integrated the following components: </p>
+                        <p>&#149;&nbsp; Application server (Apache Geronimo)
</p>
+                        <p>&#149;&nbsp; Web server and servlet engine (Jetty)
</p>
+                        <p>&#149;&nbsp; JSP compiler (Jasper) </p>
+                        <p>&#149;&nbsp; Relational database (Apache Derby)
</p>
+                        <p>&#149;&nbsp; JSR 168 portlet container (Apache Pluto)
</p>
+                        <p>&#149;&nbsp; Messaging (ActiveMQ) </p>
+                        <p>&#149;&nbsp; User management services </p>
+                        <p>&#149;&nbsp; Centralized administration console
</p>
+                      <td>&nbsp;</td>
+                    </tr>
+                  </table></td>
+                  <td width="10">&nbsp;</td>
+                  <td width="350" height="300" align="center" valign="top">       
            <table width="250" cellpadding="0" cellspacing="0" border="0">
+                      <tr>
+                        <td class="DarkBackground">&nbsp;</td>
+                        <td width="50" class="DarkBackground">LOGIN</td>
+                        <td class="DarkBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground" align="center"><font color="red"><b><i>Invalid
Username and/or Password!</i></b></font></td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td width="6" class="LightBackground">&nbsp;</td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground"><strong>Username</strong></td>
+                              <td class="LightBackground"><strong>:</strong></td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground"><input name="j_username"
type="text" class="InputField" value="" size="20px" maxlength="25"/></td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground"><strong>Password</strong></td>
+                              <td class="LightBackground"><strong>:</strong></td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground"><input name="j_password"
type="password" class="InputField" value="" size="20px" maxlength="25"/></td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td colspan="4" align="center" class="LightBackground"><input
name="submit" type="submit" value="Login"/></td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                            <tr>
+                              <td width="14" class="LightBackground">&nbsp;</td>
+                              <td align="right" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="1" class="LightBackground">&nbsp;</td>
+                              <td class="LightBackground">&nbsp;</td>
+                              <td width="17" class="LightBackground">&nbsp;</td>
+                            </tr>
+                        </table></td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                        <td class="LightBackground">&nbsp;</td>
+                      </tr>
+                      <tr>
+                        <td class="DarkBackground">&nbsp;</td>
+                        <td class="DarkBackground">&nbsp;</td>
+                        <td class="DarkBackground">&nbsp;</td>
+                      </tr>
+                    </table>
+                    <p>&nbsp;</p></td>
+                </tr>
+              </table></td>
+              <td width="10" height="200" class="Right">&nbsp;</td>
+            </tr>
+            <tr>
+              <td class="Left">&nbsp;</td>
+              <td class="Body">&nbsp;</td>
+              <td class="Right">&nbsp;</td>
+            </tr>
+            <tr>
+              <td width="10" class="BottomLeft">&nbsp;</td>
+              <td class="Footer">&nbsp;</td>
+              <td width="10" class="BottomRight">&nbsp;</td>
+            </tr>
+          </table></td>
+          <td width="10">&nbsp;</td>
+          <td width="300" valign="top">            <table width="100%"  border="0"
cellspacing="0" cellpadding="0">
+              <tr>
+                <td width="10">&nbsp;</td>
+                <td><img src="<%=request.getContextPath()%>/images/related_links.gif"></td>
+                <td width="10">&nbsp;</td>
+              </tr>
+              <tr>
+                <td height="7"><img src="<%=request.getContextPath()%>/images/spacer.gif"></td>
+                <td height="7" class="Body"><img src="<%=request.getContextPath()%>/images/spacer.gif"></td>
+                <td height="7"><img src="<%=request.getContextPath()%>/images/spacer.gif"></td>
+              </tr>
+              <tr>
+                <td width="10">&nbsp;</td>
+                <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
+                  <tr>
+                    <td align="center">&nbsp;</td>
+                    <td>&nbsp;</td>
+                    <td>&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td width="20" align="center"><img src="<%=request.getContextPath()%>/images/bullet.gif"></td>
+                    <td><a href="http://">Technical Support</a></td>
+                    <td width="10">&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td align="center">&nbsp;</td>
+                    <td>&nbsp;</td>
+                    <td>&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td width="20" align="center"><img src="<%=request.getContextPath()%>/images/bullet.gif"></td>
+                    <td><a href="http://">Download Updates</a> </td>
+                    <td width="10">&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td align="center">&nbsp;</td>
+                    <td>&nbsp;</td>
+                    <td>&nbsp;</td>
+                  </tr>
+                  <tr>
+                    <td width="20" align="center"><img src="<%=request.getContextPath()%>/images/bullet.gif"></td>
+                    <td><a href="http://">Mailing List</a></td>
+                    <td width="10">&nbsp;</td>
+                  </tr>
+                </table></td>
+                <td width="10">&nbsp;</td>
+              </tr>
+            </table>
+            </td>
+          <td width="10">&nbsp;</td>
+        </tr>
+      </table></td>
+    </tr>
+    <tr>
+      <td>&nbsp;</td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>



Mime
View raw message