summaryrefslogtreecommitdiffstats
path: root/base/tps/shared/conf/tomcat-users.xml
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-05-16 13:06:14 -0500
committerEndi S. Dewata <edewata@redhat.com>2013-06-10 13:35:22 -0400
commit0812c8d7583250d9ccbfbc3439083d1d2296b2f5 (patch)
treeed22e7a39a37ee87a36257170b00da7db11eca54 /base/tps/shared/conf/tomcat-users.xml
parente4656ce3f71f5cc0ba124ed5082a264e2689140b (diff)
downloadpki-0812c8d7583250d9ccbfbc3439083d1d2296b2f5.tar.gz
pki-0812c8d7583250d9ccbfbc3439083d1d2296b2f5.tar.xz
pki-0812c8d7583250d9ccbfbc3439083d1d2296b2f5.zip
Added Tomcat-based TPS instance.
The build and deployment tools have been modified to support creating a basic Tomcat instance to run TPS. New configuration and template files for TPS have been copied from another Tomcat subsystem. The TPS functionality itself will be added in future patches. Ticket #526
Diffstat (limited to 'base/tps/shared/conf/tomcat-users.xml')
-rw-r--r--base/tps/shared/conf/tomcat-users.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/base/tps/shared/conf/tomcat-users.xml b/base/tps/shared/conf/tomcat-users.xml
new file mode 100644
index 000000000..daa9260cc
--- /dev/null
+++ b/base/tps/shared/conf/tomcat-users.xml
@@ -0,0 +1,45 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!-- BEGIN COPYRIGHT BLOCK
+ Copyright (C) 2006-2010 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.
+-->
+
+<!--
+ <role rolename="tomcat"/>
+ <role rolename="role1"/>
+ <user username="tomcat" password="tomcat" roles="tomcat"/>
+ <user username="both" password="tomcat" roles="tomcat,role1"/>
+ <user username="role1" password="tomcat" roles="role1"/>
+-->
+
+<!-- The host manager webapp is restricted to users with role "admin" -->
+<!--<user name="tomcat" password="password" roles="admin" />-->
+<!-- The manager webapp is restricted to users with role "manager" -->
+<!--<user name="tomcat" password="password" roles="manager" />-->
+<tomcat-users>
+ <role rolename="pkiuser"/>
+ <role rolename="tomcat"/>
+ <role rolename="manager"/>
+ <role rolename="admin"/>
+
+ <user username="pkiuser" password="pkiuser" roles="pkiuser"/>
+ <user username="tomcat" password="tomcat" roles="tomcat"/>
+ <user username="admin" password="netscape" roles="admin,manager"/>
+</tomcat-users>