diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-01-19 20:50:42 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-01-30 21:20:32 +0100 |
commit | 1ee44923b78684229e32301d57e74e770621fe9c (patch) | |
tree | aae62cefbea90edfee38693c14414b272d687472 /base/server/tomcat8 | |
parent | 2fa7bc707a558da1b0c4d748d0805bdd0b60168c (diff) | |
download | pki-1ee44923b78684229e32301d57e74e770621fe9c.tar.gz pki-1ee44923b78684229e32301d57e74e770621fe9c.tar.xz pki-1ee44923b78684229e32301d57e74e770621fe9c.zip |
Merged /pki webapps.
Previously the /pki webapp was only added if the theme was present
during installation, and there were separate webapps for /pki/admin
and /pki/js. If the theme was installed later, the /pki webapp had
to be configured manually.
To simplify the installation and to support other developments
(e.g. login banner), the /pki webapp will always be added during
installation regardless of theme, and the /pki/admin and /pki/js
webapps are merged into /pki webapp. When the theme package is
installed, it will create links in /pki webapp so the theme files
will become available without additional configuration.
An upgrade script has been added to merge the /pki webapp in
existing instances.
https://fedorahosted.org/pki/ticket/2582
Diffstat (limited to 'base/server/tomcat8')
-rw-r--r-- | base/server/tomcat8/conf/Catalina/localhost/pki#admin.xml | 32 | ||||
-rw-r--r-- | base/server/tomcat8/conf/Catalina/localhost/pki#js.xml | 32 | ||||
-rw-r--r-- | base/server/tomcat8/conf/Catalina/localhost/pki.xml | 2 |
3 files changed, 1 insertions, 65 deletions
diff --git a/base/server/tomcat8/conf/Catalina/localhost/pki#admin.xml b/base/server/tomcat8/conf/Catalina/localhost/pki#admin.xml deleted file mode 100644 index 16db43605..000000000 --- a/base/server/tomcat8/conf/Catalina/localhost/pki#admin.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?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 docBase="/usr/share/pki/server/webapps/pki/admin" crossContext="true"> - - <Manager - secureRandomProvider="Mozilla-JSS" secureRandomAlgorithm="pkcs11prng"/> - - <Resources allowLinking="true" /> - -</Context> diff --git a/base/server/tomcat8/conf/Catalina/localhost/pki#js.xml b/base/server/tomcat8/conf/Catalina/localhost/pki#js.xml deleted file mode 100644 index 9b0903ddf..000000000 --- a/base/server/tomcat8/conf/Catalina/localhost/pki#js.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?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 docBase="/usr/share/pki/server/webapps/pki/js" crossContext="true"> - - <Manager - secureRandomProvider="Mozilla-JSS" secureRandomAlgorithm="pkcs11prng"/> - - <Resources allowLinking="true" /> - -</Context> diff --git a/base/server/tomcat8/conf/Catalina/localhost/pki.xml b/base/server/tomcat8/conf/Catalina/localhost/pki.xml index 1e87c1cd5..59249c725 100644 --- a/base/server/tomcat8/conf/Catalina/localhost/pki.xml +++ b/base/server/tomcat8/conf/Catalina/localhost/pki.xml @@ -22,7 +22,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<Context docBase="/usr/share/pki/common-ui" crossContext="true"> +<Context docBase="/usr/share/pki/server/webapps/pki" crossContext="true"> <Manager secureRandomProvider="Mozilla-JSS" secureRandomAlgorithm="pkcs11prng"/> |