Adding default manager roles in tomcat users config.#412
Conversation
Adding default manager roles in tomcat users config.
Adding default manager roles in tomcat users config.
|
...I guess the travis CI is currently broken |
|
For some reason |
🤔 |
|
Hi, since the Travis CI possibly failed due to some unrelated instability, can we perhaps simply try to re-run it? |
Re-scheduled it! |
|
-1 for the above line. The "manager-jmx" role is not intended to be used by human users: it does not have CSRF protection.
There rarely is a need to explicitly create roles like the above. When parsing the tomcat-users.xml file, all roles mentioned in users are created automatically. |
kkolinko
left a comment
There was a problem hiding this comment.
The "manager-jmx" role and "manager-gui" roles should not be used together. (As I wrote is a comment earlier. Resubmitting via "Code review" panel.)
|
@kkolinko Regarding:
I wasn't aware of that. If roles are automatically generated, what's the use of the I'll remove the JMX part. |
|
Based on a PR by Arnaud Dagnelies.
Based on a PR by Arnaud Dagnelies.
Every time I install a tomcat, I first add the tomcat manager users, and I think a lot of people do this as well. However, currently, it's kind of a pain because you have to look it up first what exactly should be written and create the roles/users manually. This here makes it trivial.