diff options
Diffstat (limited to 'base/kra')
-rw-r--r-- | base/kra/CMakeLists.txt | 8 | ||||
-rw-r--r-- | base/kra/tomcat7/CMakeLists.txt | 6 | ||||
-rw-r--r-- | base/kra/tomcat7/conf/Catalina/localhost/kra.xml (renamed from base/kra/shared/conf/Catalina/localhost/kra.xml) | 0 | ||||
-rw-r--r-- | base/kra/tomcat8/CMakeLists.txt | 6 | ||||
-rw-r--r-- | base/kra/tomcat8/conf/Catalina/localhost/kra.xml | 39 |
5 files changed, 59 insertions, 0 deletions
diff --git a/base/kra/CMakeLists.txt b/base/kra/CMakeLists.txt index 02bacd132..0197075ba 100644 --- a/base/kra/CMakeLists.txt +++ b/base/kra/CMakeLists.txt @@ -4,6 +4,14 @@ add_subdirectory(src) add_subdirectory(setup) add_subdirectory(shared/conf) +if(WITH_TOMCAT7) + add_subdirectory(tomcat7) +endif(WITH_TOMCAT7) + +if(WITH_TOMCAT8) + add_subdirectory(tomcat8) +endif(WITH_TOMCAT8) + # install directories install( DIRECTORY diff --git a/base/kra/tomcat7/CMakeLists.txt b/base/kra/tomcat7/CMakeLists.txt new file mode 100644 index 000000000..5c324e441 --- /dev/null +++ b/base/kra/tomcat7/CMakeLists.txt @@ -0,0 +1,6 @@ +install( + DIRECTORY + conf/ + DESTINATION + ${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}/${PROJECT_NAME}/conf/ +) diff --git a/base/kra/shared/conf/Catalina/localhost/kra.xml b/base/kra/tomcat7/conf/Catalina/localhost/kra.xml index e838503a6..e838503a6 100644 --- a/base/kra/shared/conf/Catalina/localhost/kra.xml +++ b/base/kra/tomcat7/conf/Catalina/localhost/kra.xml 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> |