rubyfox-server 2.17.3.1 → 2.19.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubyfox/server/data/config/admin/descriptors/config_room.txt +10 -1
- data/lib/rubyfox/server/data/config/admin/descriptors/config_server.txt +90 -20
- data/lib/rubyfox/server/data/config/admin/descriptors/config_zone.txt +9 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_room.txt +11 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_user.txt +3 -3
- data/lib/rubyfox/server/data/config/core.xml +4 -4
- data/lib/rubyfox/server/data/config/default.words.txt +11 -0
- data/lib/rubyfox/server/data/config/log4j.properties +1 -2
- data/lib/rubyfox/server/data/config/server.xml +1 -1
- data/lib/rubyfox/server/data/data/GeoLite2-Country.mmdb +0 -0
- data/lib/rubyfox/server/data/data/bannedusers/users.bin +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/bootstrap.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina-tasks.xml +39 -39
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/ciphers.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon-native.tar.gz +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/configtest.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/daemon.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/digest.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/makebase.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/setclasspath.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/shutdown.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/startup.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-juli.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-native.tar.gz +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tool-wrapper.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/version.sh +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/Catalina/localhost/rewrite.config +1 -1
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.policy +263 -264
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.properties +209 -207
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/context.xml +31 -31
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/jaspic-providers.xml +23 -23
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/jaspic-providers.xsd +52 -52
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/keystore.jks +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/server.xml +177 -161
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/tomcat-users.xml +18 -7
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/tomcat-users.xsd +59 -59
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/web.xml +4740 -4737
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/annotations-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ant.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ha.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ssi.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-storeconfig.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-tribes.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/el-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper-el.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jaspic-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jsp-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/servlet-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/sfs2x-ws-helper.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-coyote.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-dbcp.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-cs.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-de.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-es.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-fr.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ja.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ko.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-pt-BR.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ru.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-zh-CN.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jdbc.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jni.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util-scan.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-websocket.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/websocket-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/javax.activation-1.2.0.jar +0 -0
- data/lib/rubyfox/server/data/lib/javax.mail.jar +0 -0
- data/lib/rubyfox/server/data/lib/js/JSApi.js +2 -1
- data/lib/rubyfox/server/data/lib/js/LibApi.js +181 -48
- data/lib/rubyfox/server/data/lib/sfs2x-admin.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x-cluster.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x-core.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x.jar +0 -0
- data/lib/rubyfox/server/data/sfs2x-service +26 -30
- data/lib/rubyfox/server/data/www/BlueBox.war +0 -0
- data/lib/rubyfox/server/data/www/HelloServlet/WEB-INF/web.xml +1 -3
- data/lib/rubyfox/server/data/www/ROOT/_css_/default.css +14 -6
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/style.css +44 -2
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/application.bundle.js +98 -61
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/endors~mod-0~mod-1~mod-11~mod-12~mod-17~mod-6~mod-7~mod-8~mod-9.bundle.js +17357 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-0.bundle.js +4 -4
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-1.bundle.js +3 -3
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-10.bundle.js +101 -66
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-11.bundle.js +544 -8
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12.bundle.js +915 -1480
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12~module-15~module-16~module-4.bundle.js +2665 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-13.bundle.js +606 -3093
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-13~module-16~module-17~module-4.bundle.js +2665 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-14.bundle.js +764 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-15.bundle.js +71 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-16.bundle.js +1787 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-17.bundle.js +3383 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-4.bundle.js +121 -1009
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-5.bundle.js +1214 -1744
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-6.bundle.js +398 -666
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-7.bundle.js +717 -192
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-8.bundle.js +2117 -665
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-9.bundle.js +613 -690
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~mod-0~mod-1~mod-10~mod-11~mod-16~mod-5~mod-6~mod-7~mod-8.bundle.js +17357 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~mod-0~mod-1~mod-11~mod-12~mod-17~mod-5~mod-6~mod-7~mod-8~mod-9.bundle.js +17357 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/{vendors~module-0~module-1~module-13~module-4~module-5~module-7~module-8.bundle.js → vendors~mod-0~mod-1~mod-11~mod-12~mod-17~mod-5~mod-7~mod-8~mod-9.bundle.js} +2 -2
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-12.bundle.js +807 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-13.bundle.js +807 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/cluster-configurator.html +32 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/cluster-monitor.html +185 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/cluster-updater.html +47 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/extension-deployer.html +84 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-monitor.html +15 -8
- data/lib/rubyfox/server/data/www/ROOT/index.html +13 -23
- data/lib/rubyfox/server/data/www/host-manager/META-INF/context.xml +2 -2
- data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/404.jsp +2 -2
- data/lib/rubyfox/server/data/www/host-manager/{manager.xml → WEB-INF/manager.xml} +5 -1
- data/lib/rubyfox/server/data/www/host-manager/WEB-INF/web.xml +17 -0
- data/lib/rubyfox/server/data/www/host-manager/css/manager.css +141 -0
- data/lib/rubyfox/server/data/www/host-manager/images/tomcat.svg +967 -0
- data/lib/rubyfox/server/data/www/manager/META-INF/context.xml +2 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorCerts.jsp +1 -1
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorCiphers.jsp +1 -1
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorTrustedCerts.jsp +1 -1
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/sessionDetail.jsp +3 -3
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/sessionsList.jsp +1 -1
- data/lib/rubyfox/server/data/www/manager/WEB-INF/web.xml +17 -0
- data/lib/rubyfox/server/data/www/manager/css/manager.css +141 -0
- data/lib/rubyfox/server/data/www/manager/images/tomcat.svg +967 -0
- data/lib/rubyfox/server/data/www/manager/xform.xsl +74 -59
- data/lib/rubyfox/server/version.rb +1 -1
- metadata +30 -31
- data/lib/rubyfox/server/data/config/admin/icons/Analytics.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BanManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Console.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Dashboard.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LogViewer.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServletManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.png +0 -0
- data/lib/rubyfox/server/data/lib/BlueBox.war +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/LICENSE +0 -1061
- data/lib/rubyfox/server/data/lib/apache-tomcat/NOTICE +0 -68
- data/lib/rubyfox/server/data/lib/apache-tomcat/README.md +0 -81
- data/lib/rubyfox/server/data/lib/apache-tomcat/RELEASE-NOTES +0 -174
- data/lib/rubyfox/server/data/lib/imap.jar +0 -0
- data/lib/rubyfox/server/data/lib/mailapi.jar +0 -0
- data/lib/rubyfox/server/data/lib/pop3.jar +0 -0
- data/lib/rubyfox/server/data/lib/smtp.jar +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12~module-13~module-9.bundle.js +0 -2634
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-9.bundle.js +0 -807
- data/lib/rubyfox/server/data/www/host-manager/images/tomcat.gif +0 -0
- data/lib/rubyfox/server/data/www/manager/images/tomcat.gif +0 -0
- /data/lib/rubyfox/server/data/data/buddylists/{BasicExamples/.keep → .keep} +0 -0
@@ -1,161 +1,177 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
the License
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<!--
|
25
|
-
<Listener
|
26
|
-
|
27
|
-
|
28
|
-
<Listener className="org.apache.catalina.
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<!--
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<!--
|
119
|
-
<
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
+
contributor license agreements. See the NOTICE file distributed with
|
5
|
+
this work for additional information regarding copyright ownership.
|
6
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
+
(the "License"); you may not use this file except in compliance with
|
8
|
+
the License. You may obtain a copy of the License at
|
9
|
+
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
-->
|
18
|
+
<!-- Note: A "Server" is not itself a "Container", so you may not
|
19
|
+
define subcomponents such as "Valves" at this level.
|
20
|
+
Documentation at /docs/config/server.html
|
21
|
+
-->
|
22
|
+
<Server port="8005" shutdown="SHUTDOWN">
|
23
|
+
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
|
24
|
+
<!-- Security listener. Documentation at /docs/config/listeners.html
|
25
|
+
<Listener className="org.apache.catalina.security.SecurityListener" />
|
26
|
+
-->
|
27
|
+
<!-- APR library loader. Documentation at /docs/apr.html -->
|
28
|
+
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
|
29
|
+
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
30
|
+
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
|
31
|
+
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
|
32
|
+
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
|
33
|
+
|
34
|
+
<!-- Global JNDI resources
|
35
|
+
Documentation at /docs/jndi-resources-howto.html
|
36
|
+
-->
|
37
|
+
<GlobalNamingResources>
|
38
|
+
<!-- Editable user database that can also be used by
|
39
|
+
UserDatabaseRealm to authenticate users
|
40
|
+
-->
|
41
|
+
<Resource name="UserDatabase" auth="Container"
|
42
|
+
type="org.apache.catalina.UserDatabase"
|
43
|
+
description="User database that can be updated and saved"
|
44
|
+
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
|
45
|
+
pathname="conf/tomcat-users.xml" />
|
46
|
+
</GlobalNamingResources>
|
47
|
+
|
48
|
+
<!-- A "Service" is a collection of one or more "Connectors" that share
|
49
|
+
a single "Container" Note: A "Service" is not itself a "Container",
|
50
|
+
so you may not define subcomponents such as "Valves" at this level.
|
51
|
+
Documentation at /docs/config/service.html
|
52
|
+
-->
|
53
|
+
<Service name="Catalina">
|
54
|
+
|
55
|
+
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
|
56
|
+
<!--
|
57
|
+
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
|
58
|
+
maxThreads="150" minSpareThreads="4"/>
|
59
|
+
-->
|
60
|
+
|
61
|
+
|
62
|
+
<!-- A "Connector" represents an endpoint by which requests are received
|
63
|
+
and responses are returned. Documentation at :
|
64
|
+
Java HTTP Connector: /docs/config/http.html
|
65
|
+
Java AJP Connector: /docs/config/ajp.html
|
66
|
+
APR (HTTP/AJP) Connector: /docs/apr.html
|
67
|
+
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
|
68
|
+
-->
|
69
|
+
<Connector port="8080" protocol="HTTP/1.1"
|
70
|
+
connectionTimeout="20000"
|
71
|
+
maxConnections="10000"
|
72
|
+
maxThreads="200"
|
73
|
+
name="sfs-http"
|
74
|
+
redirectPort="8443" />
|
75
|
+
<!-- A "Connector" using the shared thread pool-->
|
76
|
+
<!--
|
77
|
+
<Connector executor="tomcatThreadPool"
|
78
|
+
port="8080" protocol="HTTP/1.1"
|
79
|
+
connectionTimeout="20000"
|
80
|
+
redirectPort="8443" />
|
81
|
+
-->
|
82
|
+
<!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443
|
83
|
+
This connector uses the NIO implementation. The default
|
84
|
+
SSLImplementation will depend on the presence of the APR/native
|
85
|
+
library and the useOpenSSL attribute of the AprLifecycleListener.
|
86
|
+
Either JSSE or OpenSSL style configuration may be used regardless of
|
87
|
+
the SSLImplementation selected. JSSE style configuration is used below.
|
88
|
+
-->
|
89
|
+
<!--
|
90
|
+
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
|
91
|
+
maxThreads="150" SSLEnabled="true">
|
92
|
+
<SSLHostConfig>
|
93
|
+
<Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
|
94
|
+
type="RSA" />
|
95
|
+
</SSLHostConfig>
|
96
|
+
</Connector>
|
97
|
+
-->
|
98
|
+
<!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2
|
99
|
+
This connector uses the APR/native implementation which always uses
|
100
|
+
OpenSSL for TLS.
|
101
|
+
Either JSSE or OpenSSL style configuration may be used. OpenSSL style
|
102
|
+
configuration is used below.
|
103
|
+
-->
|
104
|
+
<!--
|
105
|
+
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
|
106
|
+
maxThreads="150" SSLEnabled="true" >
|
107
|
+
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
|
108
|
+
<SSLHostConfig>
|
109
|
+
<Certificate certificateKeyFile="conf/localhost-rsa-key.pem"
|
110
|
+
certificateFile="conf/localhost-rsa-cert.pem"
|
111
|
+
certificateChainFile="conf/localhost-rsa-chain.pem"
|
112
|
+
type="RSA" />
|
113
|
+
</SSLHostConfig>
|
114
|
+
</Connector>
|
115
|
+
-->
|
116
|
+
|
117
|
+
<!-- Define an AJP 1.3 Connector on port 8009 -->
|
118
|
+
<!--
|
119
|
+
<Connector protocol="AJP/1.3"
|
120
|
+
address="::1"
|
121
|
+
port="8009"
|
122
|
+
redirectPort="8443" />
|
123
|
+
-->
|
124
|
+
|
125
|
+
<!-- An Engine represents the entry point (within Catalina) that processes
|
126
|
+
every request. The Engine implementation for Tomcat stand alone
|
127
|
+
analyzes the HTTP headers included with the request, and passes them
|
128
|
+
on to the appropriate Host (virtual host).
|
129
|
+
Documentation at /docs/config/engine.html -->
|
130
|
+
|
131
|
+
<!-- You should set jvmRoute to support load-balancing via AJP ie :
|
132
|
+
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
|
133
|
+
-->
|
134
|
+
<Engine name="Catalina" defaultHost="localhost">
|
135
|
+
|
136
|
+
<!--For clustering, please take a look at documentation at:
|
137
|
+
/docs/cluster-howto.html (simple how to)
|
138
|
+
/docs/config/cluster.html (reference documentation) -->
|
139
|
+
<!--
|
140
|
+
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
|
141
|
+
-->
|
142
|
+
|
143
|
+
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
|
144
|
+
via a brute-force attack -->
|
145
|
+
<Realm className="org.apache.catalina.realm.LockOutRealm">
|
146
|
+
<!-- This Realm uses the UserDatabase configured in the global JNDI
|
147
|
+
resources under the key "UserDatabase". Any edits
|
148
|
+
that are performed against this UserDatabase are immediately
|
149
|
+
available for use by the Realm. -->
|
150
|
+
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
|
151
|
+
resourceName="UserDatabase"/>
|
152
|
+
</Realm>
|
153
|
+
|
154
|
+
<Host appBase="../../www" autoDeploy="true" name="localhost" unpackWARs="false">
|
155
|
+
|
156
|
+
<!-- SingleSignOn valve, share authentication between web applications
|
157
|
+
Documentation at: /docs/config/valve.html -->
|
158
|
+
<!--
|
159
|
+
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
|
160
|
+
-->
|
161
|
+
|
162
|
+
<!-- Access log processes all example.
|
163
|
+
Documentation at: /docs/config/valve.html
|
164
|
+
Note: The pattern used is equivalent to using pattern="common" -->
|
165
|
+
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="../../logs/http/"
|
166
|
+
prefix="localhost_access_log" suffix=".txt"
|
167
|
+
pattern="%h %l %u %t "%r" %s %b" />
|
168
|
+
|
169
|
+
<Valve className="org.apache.catalina.valves.rewrite.RewriteValve"/>
|
170
|
+
<Valve className="sfs2x.ws.tomcat.shared.WSUpgradeFilter"/>
|
171
|
+
<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="true" showServerInfo="false"/>
|
172
|
+
|
173
|
+
</Host>
|
174
|
+
</Engine>
|
175
|
+
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="lib/apache-tomcat/conf/keystore.jks" keystorePass="password" maxConnections="10000" maxThreads="200" name="sfs-https" port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslProtocol="TLS"/>
|
176
|
+
</Service>
|
177
|
+
</Server>
|
@@ -20,15 +20,27 @@
|
|
20
20
|
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
|
21
21
|
version="1.0">
|
22
22
|
<!--
|
23
|
-
|
23
|
+
By default, no user is included in the "manager-gui" role required
|
24
24
|
to operate the "/manager/html" web application. If you wish to use this app,
|
25
|
-
you must define such a user - the username and password are arbitrary.
|
26
|
-
|
27
|
-
|
28
|
-
|
25
|
+
you must define such a user - the username and password are arbitrary.
|
26
|
+
|
27
|
+
Built-in Tomcat manager roles:
|
28
|
+
- manager-gui - allows access to the HTML GUI and the status pages
|
29
|
+
- manager-script - allows access to the HTTP API and the status pages
|
30
|
+
- manager-jmx - allows access to the JMX proxy and the status pages
|
31
|
+
- manager-status - allows access to the status pages only
|
32
|
+
|
33
|
+
The users below are wrapped in a comment and are therefore ignored. If you
|
34
|
+
wish to configure one or more of these users for use with the manager web
|
35
|
+
application, do not forget to remove the <!.. ..> that surrounds them. You
|
36
|
+
will also need to set the passwords to something appropriate.
|
29
37
|
-->
|
30
38
|
<!--
|
31
|
-
|
39
|
+
<user username="admin" password="<must-be-changed>" roles="manager-gui"/>
|
40
|
+
<user username="robot" password="<must-be-changed>" roles="manager-script"/>
|
41
|
+
-->
|
42
|
+
<!--
|
43
|
+
The sample user and role entries below are intended for use with the
|
32
44
|
examples web application. They are wrapped in a comment and thus are ignored
|
33
45
|
when reading this file. If you wish to configure these users for use with the
|
34
46
|
examples web application, do not forget to remove the <!.. ..> that surrounds
|
@@ -37,5 +49,4 @@
|
|
37
49
|
|
38
50
|
<role rolename="manager-gui"/>
|
39
51
|
|
40
|
-
|
41
52
|
</tomcat-users>
|
@@ -1,59 +1,59 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
|
19
|
-
targetNamespace="http://tomcat.apache.org/xml"
|
20
|
-
xmlns:users="http://tomcat.apache.org/xml"
|
21
|
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
22
|
-
elementFormDefault="qualified"
|
23
|
-
attributeFormDefault="unqualified"
|
24
|
-
version="1.0">
|
25
|
-
<xs:element name="tomcat-users">
|
26
|
-
<xs:complexType>
|
27
|
-
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
28
|
-
<xs:element name="role">
|
29
|
-
<xs:complexType>
|
30
|
-
<xs:attribute name="rolename" use="required" type="users:entityname" />
|
31
|
-
<xs:attribute name="description" type="xs:string" />
|
32
|
-
</xs:complexType>
|
33
|
-
</xs:element>
|
34
|
-
<xs:element name="group">
|
35
|
-
<xs:complexType>
|
36
|
-
<xs:attribute name="groupname" use="required" type="users:entityname" />
|
37
|
-
<xs:attribute name="description" type="xs:string" />
|
38
|
-
<xs:attribute name="roles" type="xs:string" />
|
39
|
-
</xs:complexType>
|
40
|
-
</xs:element>
|
41
|
-
<xs:element name="user">
|
42
|
-
<xs:complexType>
|
43
|
-
<xs:attribute name="username" use="required" type="users:entityname" />
|
44
|
-
<xs:attribute name="fullname" type="xs:string" />
|
45
|
-
<xs:attribute name="password" type="xs:string" />
|
46
|
-
<xs:attribute name="roles" type="xs:string" />
|
47
|
-
<xs:attribute name="groups" type="xs:string" />
|
48
|
-
</xs:complexType>
|
49
|
-
</xs:element>
|
50
|
-
</xs:choice>
|
51
|
-
<xs:attribute name="version" type="xs:string" />
|
52
|
-
</xs:complexType>
|
53
|
-
</xs:element>
|
54
|
-
<xs:simpleType name="entityname">
|
55
|
-
<xs:restriction base="xs:string">
|
56
|
-
<xs:minLength value="1"/>
|
57
|
-
</xs:restriction>
|
58
|
-
</xs:simpleType>
|
59
|
-
</xs:schema>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
+
contributor license agreements. See the NOTICE file distributed with
|
5
|
+
this work for additional information regarding copyright ownership.
|
6
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
+
(the "License"); you may not use this file except in compliance with
|
8
|
+
the License. You may obtain a copy of the License at
|
9
|
+
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
-->
|
18
|
+
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
|
19
|
+
targetNamespace="http://tomcat.apache.org/xml"
|
20
|
+
xmlns:users="http://tomcat.apache.org/xml"
|
21
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
22
|
+
elementFormDefault="qualified"
|
23
|
+
attributeFormDefault="unqualified"
|
24
|
+
version="1.0">
|
25
|
+
<xs:element name="tomcat-users">
|
26
|
+
<xs:complexType>
|
27
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
28
|
+
<xs:element name="role">
|
29
|
+
<xs:complexType>
|
30
|
+
<xs:attribute name="rolename" use="required" type="users:entityname" />
|
31
|
+
<xs:attribute name="description" type="xs:string" />
|
32
|
+
</xs:complexType>
|
33
|
+
</xs:element>
|
34
|
+
<xs:element name="group">
|
35
|
+
<xs:complexType>
|
36
|
+
<xs:attribute name="groupname" use="required" type="users:entityname" />
|
37
|
+
<xs:attribute name="description" type="xs:string" />
|
38
|
+
<xs:attribute name="roles" type="xs:string" />
|
39
|
+
</xs:complexType>
|
40
|
+
</xs:element>
|
41
|
+
<xs:element name="user">
|
42
|
+
<xs:complexType>
|
43
|
+
<xs:attribute name="username" use="required" type="users:entityname" />
|
44
|
+
<xs:attribute name="fullname" type="xs:string" />
|
45
|
+
<xs:attribute name="password" type="xs:string" />
|
46
|
+
<xs:attribute name="roles" type="xs:string" />
|
47
|
+
<xs:attribute name="groups" type="xs:string" />
|
48
|
+
</xs:complexType>
|
49
|
+
</xs:element>
|
50
|
+
</xs:choice>
|
51
|
+
<xs:attribute name="version" type="xs:string" />
|
52
|
+
</xs:complexType>
|
53
|
+
</xs:element>
|
54
|
+
<xs:simpleType name="entityname">
|
55
|
+
<xs:restriction base="xs:string">
|
56
|
+
<xs:minLength value="1"/>
|
57
|
+
</xs:restriction>
|
58
|
+
</xs:simpleType>
|
59
|
+
</xs:schema>
|