rubyfox-server 2.17.3.2 → 2.19.2.0

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