-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current ROOT webapp will redirect users coming to the root URL path to the proper path of the subsystem's webapp. Since now a single Tomcat instance may have multiple subsystems, a new ROOT webapp has been added to present the user with a menu of all available webapps from all subsystems in the instance. Ticket #89
- Loading branch information
Showing
12 changed files
with
294 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<!-- BEGIN COPYRIGHT BLOCK | ||
Copyright (C) 2012 Red Hat, Inc. | ||
All rights reserved. | ||
Modifications: configuration parameters | ||
END COPYRIGHT BLOCK | ||
--> | ||
|
||
<!-- | ||
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. | ||
--> | ||
<Context crossContext="true" allowLinking="true"> | ||
|
||
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
Copyright 2004 The Apache Software Foundation | ||
Licensed 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. | ||
--> | ||
|
||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | ||
version="2.4"> | ||
|
||
<display-name>PKI</display-name> | ||
|
||
</web-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
<!-- --- BEGIN COPYRIGHT BLOCK --- | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; version 2 of the License. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License along | ||
with this program; if not, write to the Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
Copyright (C) 2012 Red Hat, Inc. | ||
All rights reserved. | ||
--- END COPYRIGHT BLOCK --- --> | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<html> | ||
<head> | ||
<title>Certificate System</title> | ||
<meta http-equiv=Content-Type content="text/html; charset=UTF-8"> | ||
<link rel="shortcut icon" href="/pki/img/favicon.ico" /> | ||
<link rel="stylesheet" href="/pki/css/pki-base.css" type="text/css" /> | ||
</head> | ||
<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> | ||
|
||
<div id="header"> | ||
<a href="http://pki.fedoraproject.org/" title="Visit pki.fedoraproject.org for more information about Dogtag products and services"><img src="/pki/img/logo_header.gif" alt="Dogtag" id="myLogo" /></a> | ||
<div id="headertitle"> | ||
<a href="/" title="Dogtag Network homepage">Dogtag<sup><font size="-2">®</font></sup> Certificate System</a> | ||
</div> | ||
<div id="account"> | ||
<dl><dt><span></span></dt><dd></dd></dl> | ||
</div> | ||
</div> | ||
|
||
<div id="mainNavOuter"> | ||
<div id="mainNav"> | ||
<div id="mainNavInner"> | ||
|
||
</div><!-- end mainNavInner --> | ||
</div><!-- end mainNav --> | ||
</div><!-- end mainNavOuter --> | ||
|
||
|
||
<div id="bar"> | ||
|
||
<div id="systembar"> | ||
<div id="systembarinner"> | ||
|
||
<div> | ||
- | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<center> | ||
|
||
<% | ||
ServletContext caContext = getServletContext().getContext("/ca"); | ||
String caName = caContext.getServletContextName(); | ||
String caPath = caContext.getContextPath(); | ||
if (!"".equals(caPath)) { | ||
%> | ||
<p> | ||
<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> | ||
<%= caName %> | ||
</font> | ||
</p> | ||
|
||
<table border="0" cellspacing="0" cellpadding="0"> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/ca/ee/ca">End Users Services</a></font> | ||
</td> | ||
</tr> | ||
<% | ||
if (request.isSecure()) { | ||
%> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/ca/agent/ca">Agent Services</a></font> | ||
</td> | ||
</tr> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/ca/services">Admin Services</a></font> | ||
</td> | ||
</tr> | ||
<% | ||
} | ||
%> | ||
</table> | ||
|
||
<br> | ||
|
||
<% | ||
} | ||
ServletContext kraContext = getServletContext().getContext("/kra"); | ||
String kraName = kraContext.getServletContextName(); | ||
String kraPath = kraContext.getContextPath(); | ||
if (!"".equals(kraPath) && request.isSecure()) { | ||
%> | ||
<p> | ||
<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> | ||
<%= kraName %> | ||
</font> | ||
</p> | ||
|
||
<table border="0" cellspacing="0" cellpadding="0"> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/kra/agent/kra">Agent Services</a></font> | ||
</td> | ||
</tr> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/kra/services">Admin Services</a></font> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<br> | ||
|
||
<% | ||
} | ||
ServletContext ocspContext = getServletContext().getContext("/ocsp"); | ||
String ocspName = ocspContext.getServletContextName(); | ||
String ocspPath = ocspContext.getContextPath(); | ||
if (!"".equals(ocspPath) && request.isSecure()) { | ||
%> | ||
<p> | ||
<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> | ||
<%= ocspName %> | ||
</font> | ||
</p> | ||
|
||
<table border="0" cellspacing="0" cellpadding="0"> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/ocsp/agent/ocsp">Agent Services</a></font> | ||
</td> | ||
</tr> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/ocsp/services">Admin Services</a></font> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<br> | ||
|
||
<% | ||
} | ||
ServletContext tksContext = getServletContext().getContext("/tks"); | ||
String tksName = tksContext.getServletContextName(); | ||
String tksPath = tksContext.getContextPath(); | ||
if (!"".equals(tksPath) && request.isSecure()) { | ||
%> | ||
<p> | ||
<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> | ||
<%= tksName %> | ||
</font> | ||
</p> | ||
|
||
<table border="0" cellspacing="0" cellpadding="0"> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/tks/agent/tks">Agent Services</a></font> | ||
</td> | ||
</tr> | ||
<tr valign="TOP"> | ||
<td> | ||
<li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> | ||
<a href="/tks/services">Admin Services</a></font> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<br> | ||
|
||
<% | ||
} | ||
%> | ||
|
||
</center> | ||
|
||
<div id="footer"> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.