内容摘要:复制<security-constraint><!--安全约束--> <web-resource-collection><!--限制访问

复制<security-constraint> <!-- 安全约束 --> <web-resource-collection> <!-- 限制访问的容器
资源集合 --> <web-resource-name>HTML Manager commands</web-resource-name> <url-pattern>/html/*</url-pattern> </web-resource-collection> <auth-constraint><!-- 授权可访问此资源集合的
亿华云角色 --> <role-name>manager-gui</role-name> </auth-constraint> </security-constraint> <login-config><!-- 配置验证方法 --> <auth-method>BASIC</auth-method> <realm-name>Tomcat Manager Application</realm-name> </login-config> <security-role><!-- 定义一个安全角色 --> <description> The role that is required to access the HTML Manager pages </description> <role-name>manager-gui</role-name> </security-role> 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.
源码下载