Merge pull request #600 from jbonofre/AMQ-8046

[AMQ-8046] Add logout button on the WebConsole
This commit is contained in:
Jean-Baptiste Onofré 2021-01-08 09:04:55 +01:00 committed by GitHub
commit b106efd82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 1 deletions

View File

@ -62,7 +62,9 @@
</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>
title="Get help and support using Apache ActiveMQ">Support</a>
&#124;
<a href="logout.jsp" title="Logout">Logout</a></p>
</div>
</div>

View File

@ -0,0 +1,40 @@
<%--
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.
--%>
<%
response.setStatus(401);
%>
<%@include file="WEB-INF/jspf/headertags.jspf" %>
<html>
<head>
<c:set var="pageTitle" value="ActiveMQ Console"/>
<%@include file="decorators/head.jsp" %>
</head>
<body>
<%@include file="decorators/header.jsp" %>
<h2>You have been logout</h2>
<p>
Go back to <a href="<c:url value='/index.jsp'/>">Home</a> to logon again.
</p>
<%@include file="decorators/footer.jsp" %>
</body>
</html>