summaryrefslogtreecommitdiffstats
path: root/base/kra/tomcat8
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-02-24 21:02:13 -0500
committerEndi S. Dewata <edewata@redhat.com>2015-04-21 16:53:17 -0400
commit42667acb21cee0ce73c58aaf55aea8fee19620ff (patch)
tree6f3671276e1f76f4535e11cafd20542ab2bbe36e /base/kra/tomcat8
parentab5f54371519010c72f4947901c3a76cb5105e41 (diff)
downloadpki-42667acb21cee0ce73c58aaf55aea8fee19620ff.tar.gz
pki-42667acb21cee0ce73c58aaf55aea8fee19620ff.tar.xz
pki-42667acb21cee0ce73c58aaf55aea8fee19620ff.zip
Added support for Tomcat 8.
The Dogtag code has been modified to support both Tomcat 7 and 8. All files depending on a specific Tomcat version are now stored in separate folders. The build scripts have been modified to use the proper folder for the target platform. The tomcatjss dependency has been updated as well. The upgrade script will be added in a separate patch. https://fedorahosted.org/pki/ticket/1264
Diffstat (limited to 'base/kra/tomcat8')
-rw-r--r--base/kra/tomcat8/CMakeLists.txt6
-rw-r--r--base/kra/tomcat8/conf/Catalina/localhost/kra.xml39
2 files changed, 45 insertions, 0 deletions
diff --git a/base/kra/tomcat8/CMakeLists.txt b/base/kra/tomcat8/CMakeLists.txt
new file mode 100644
index 000000000..5c324e441
--- /dev/null
+++ b/base/kra/tomcat8/CMakeLists.txt
@@ -0,0 +1,6 @@
+install(
+ DIRECTORY
+ conf/
+ DESTINATION
+ ${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}/${PROJECT_NAME}/conf/
+)
diff --git a/base/kra/tomcat8/conf/Catalina/localhost/kra.xml b/base/kra/tomcat8/conf/Catalina/localhost/kra.xml
new file mode 100644
index 000000000..2c045dec7
--- /dev/null
+++ b/base/kra/tomcat8/conf/Catalina/localhost/kra.xml
@@ -0,0 +1,39 @@
+<?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">
+
+ <Manager
+ secureRandomProvider="Mozilla-JSS" secureRandomAlgorithm="pkcs11prng"/>
+
+ <Valve className="com.netscape.cms.tomcat.SSLAuthenticatorWithFallback"
+ alwaysUseSession="true"
+ secureRandomProvider="Mozilla-JSS"
+ secureRandomAlgorithm="pkcs11prng"/>
+
+ <Realm className="com.netscape.cms.tomcat.ProxyRealm" />
+
+ <Resources allowLinking="true" />
+
+</Context>