activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject activemq git commit: AMQ-5491 - Standalone Web console Session timeout with user/password input.
Date Mon, 05 Jan 2015 17:24:37 GMT
Repository: activemq
Updated Branches:
  refs/heads/trunk a14af92dc -> 8dea161d5


AMQ-5491 - Standalone Web console Session timeout with user/password input.


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/8dea161d
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/8dea161d
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/8dea161d

Branch: refs/heads/trunk
Commit: 8dea161d55cd74b10199e26e56e037d85ae451a0
Parents: a14af92
Author: Hadrian Zbarcea <hadrian@apache.org>
Authored: Mon Jan 5 12:24:25 2015 -0500
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Mon Jan 5 12:24:25 2015 -0500

----------------------------------------------------------------------
 .../src/main/webapp/WEB-INF/web.xml             |   4 +
 activemq-web-console/src/main/webapp/login.html | 120 +++++++++++++++++++
 .../src/main/webapp/styles/site.css             |  29 +++++
 3 files changed, 153 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/8dea161d/activemq-web-console/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/activemq-web-console/src/main/webapp/WEB-INF/web.xml b/activemq-web-console/src/main/webapp/WEB-INF/web.xml
index 9f8e922..d647002 100755
--- a/activemq-web-console/src/main/webapp/WEB-INF/web.xml
+++ b/activemq-web-console/src/main/webapp/WEB-INF/web.xml
@@ -152,4 +152,8 @@
      <location>/500.html</location>
   </error-page>
   
+  <session-config>
+  	<session-timeout>30</session-timeout>
+  </session-config>
+  
 </web-app>

http://git-wip-us.apache.org/repos/asf/activemq/blob/8dea161d/activemq-web-console/src/main/webapp/login.html
----------------------------------------------------------------------
diff --git a/activemq-web-console/src/main/webapp/login.html b/activemq-web-console/src/main/webapp/login.html
new file mode 100644
index 0000000..393bcb8
--- /dev/null
+++ b/activemq-web-console/src/main/webapp/login.html
@@ -0,0 +1,120 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+
+
+
+
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns='http://www.w3.org/1999/xhtml'>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+    <title>Apache ActiveMQ - Login</title>
+    <style type="text/css" media="screen">
+        @import url('styles/type-settings.css');
+        @import url('styles/site.css');
+    </style>
+
+
+
+</head>
+
+<body>
+
+
+<div class="white_box">
+    <div class="header">
+        <div class="header_l">
+            <div class="header_r">
+            </div>
+        </div>
+    </div>
+    <div class="content">
+        <div class="content_l">
+            <div class="content_r">
+
+                <div>
+
+                    <!-- Banner -->
+                    <div id="asf_logo">
+                        <div id="activemq_logo">
+                            <a style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px;
margin-top:10px; margin-left:100px;"
+                               href="http://activemq.apache.org/"
+                               title="The most popular and powerful open source Message Broker">ActiveMQ</a>
+                            <a style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px;
margin-top:15px; margin-right:10px;"
+                               href="http://www.apache.org/" title="The Apache Software Foundation">ASF</a>
+                        </div>
+                    </div>
+
+
+                    <div class="top_red_bar">
+                        <div id="site-breadcrumbs">
+                        </div>
+                        <div id="site-quicklinks"><p>
+                            <a href="http://activemq.apache.org/support.html"
+                               title="Get help and support using Apache ActiveMQ">Support</a></p>
+                        </div>
+                    </div>
+
+					<div class="body-content">
+						<form id="loginForm" method="post" action="j_security_check">
+							<div class="navigation">
+		                    	<div class="navigation_top">
+		                        	<div class="navigation_bottom" id="loginForm">
+		                        		<div>
+								        	<label for="user">User</label>
+								        	<input id="user" name="j_username" maxlength="25" type="text" size="12"
value="" autofocus="autofocus"/>
+								        </div>
+								        <div>	
+							        		<label for="pass">Password</label>
+						        			<input id="pass" name="j_password" maxlength="25" type="password" size="12"
value=""/>
+						        		</div>
+						        		<div>
+						        			<label for="submit">&nbsp;</label>
+						        			<input name="submit" type="submit" value="Login"/>
+						        		</div>										        
+									</div>
+								</div>			
+		                     </div>
+						</form>
+					</div>
+
+                    <div class="bottom_red_bar"></div>
+                </div>
+            </div>
+        </div>
+    </div>
+    <div class="black_box">
+        <div class="footer">
+            <div class="footer_l">
+                <div class="footer_r">
+                    <div>
+                        Copyright 2005-2013 The Apache Software Foundation.
+
+                        (<a href="?printable=true">printable version</a>)
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<div class="design_attribution"><a href="http://hiramchirino.com/">Graphic Design
By Hiram</a></div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/activemq/blob/8dea161d/activemq-web-console/src/main/webapp/styles/site.css
----------------------------------------------------------------------
diff --git a/activemq-web-console/src/main/webapp/styles/site.css b/activemq-web-console/src/main/webapp/styles/site.css
index 13cfc54..6ebcd03 100644
--- a/activemq-web-console/src/main/webapp/styles/site.css
+++ b/activemq-web-console/src/main/webapp/styles/site.css
@@ -204,3 +204,32 @@ div.design_attribution, div.design_attribution a {
   text-align:center;
   color: #a0a0a0;
 }
+
+
+div#loginForm {
+	display: table;
+	width: 22em;
+}
+div#loginForm div {
+	display: table-row;
+	margin-bottom: 5px;
+}
+
+div#loginForm label {
+	display: table-cell;
+	width: 9em;
+	margin: 5px;
+
+	text-align: right;
+} 
+
+div#loginForm input {
+	display: table-cell;
+	width: 12em;
+	margin: 5px;
+}
+
+div#loginForm input[type=submit] {
+	width: 9em;
+	margin-left: 2em;
+}


Mime
View raw message