Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
虽然我可以理解细粒度的意义,您可以在 tomcat 中为每个单独的应用程序的每一个小东西启用安全性,但实际上,这是一个疯狂的痛苦。每个文件,套接字,每个应用程序的一切。当然,如果您正在编写一个“hello world”应用程序,这不是太多要求,而是一个企业规模的应用程序?这太疯狂了。有没有人真正使用它,或者每个人都只是说“*”?
您将在无法信任部署在 tomcat 中的应用程序的环境中使用权限策略。对性能有显着影响,因此在实践中很少使用它。