質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,3 +23,105 @@
|
|
23
23
|
他に設定箇所等があるのでしょうか?
|
24
24
|
|
25
25
|
ご存知の方、お教えください。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
下記、tomcat-users.xmlの中身です
|
30
|
+
|
31
|
+
```ここに言語を入力
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
<?xml version='1.0' encoding='utf-8'?>
|
36
|
+
|
37
|
+
<!--
|
38
|
+
|
39
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
40
|
+
|
41
|
+
contributor license agreements. See the NOTICE file distributed with
|
42
|
+
|
43
|
+
this work for additional information regarding copyright ownership.
|
44
|
+
|
45
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
46
|
+
|
47
|
+
(the "License"); you may not use this file except in compliance with
|
48
|
+
|
49
|
+
the License. You may obtain a copy of the License at
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
Unless required by applicable law or agreed to in writing, software
|
58
|
+
|
59
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
60
|
+
|
61
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
62
|
+
|
63
|
+
See the License for the specific language governing permissions and
|
64
|
+
|
65
|
+
limitations under the License.
|
66
|
+
|
67
|
+
-->
|
68
|
+
|
69
|
+
<tomcat-users xmlns="http://tomcat.apache.org/xml"
|
70
|
+
|
71
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
72
|
+
|
73
|
+
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
|
74
|
+
|
75
|
+
version="1.0">
|
76
|
+
|
77
|
+
<!--
|
78
|
+
|
79
|
+
NOTE: By default, no user is included in the "manager-gui" role required
|
80
|
+
|
81
|
+
to operate the "/manager/html" web application. If you wish to use this app,
|
82
|
+
|
83
|
+
you must define such a user - the username and password are arbitrary. It is
|
84
|
+
|
85
|
+
strongly recommended that you do NOT use one of the users in the commented out
|
86
|
+
|
87
|
+
section below since they are intended for use with the examples web
|
88
|
+
|
89
|
+
application.
|
90
|
+
|
91
|
+
-->
|
92
|
+
|
93
|
+
<!--
|
94
|
+
|
95
|
+
NOTE: The sample user and role entries below are intended for use with the
|
96
|
+
|
97
|
+
examples web application. They are wrapped in a comment and thus are ignored
|
98
|
+
|
99
|
+
when reading this file. If you wish to configure these users for use with the
|
100
|
+
|
101
|
+
examples web application, do not forget to remove the <!.. ..> that surrounds
|
102
|
+
|
103
|
+
them. You will also need to set the passwords to something appropriate.
|
104
|
+
|
105
|
+
-->
|
106
|
+
|
107
|
+
<!--
|
108
|
+
|
109
|
+
<role rolename="tomcat"/>
|
110
|
+
|
111
|
+
<role rolename="role1"/>
|
112
|
+
|
113
|
+
<user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
|
114
|
+
|
115
|
+
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
|
116
|
+
|
117
|
+
<user username="role1" password="<must-be-changed>" roles="role1"/>
|
118
|
+
|
119
|
+
-->
|
120
|
+
|
121
|
+
<role rolename="manager-gui"/>
|
122
|
+
|
123
|
+
<user username="tomcat" password="s3cret" roles="manager-gui"/>
|
124
|
+
|
125
|
+
</tomcat-users>
|
126
|
+
|
127
|
+
```
|