<user-data-constraint>
<description>
Constrain the user data transport for the whole application
</description>
<transport-guarantee> CONFIDENTIAL </transport-guarantee>
</user-data-constraint>
<!--注释掉<auth-constraint>标签下的内容-->
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area -->
<role-name>tomcat</role-name>
<role-name>role1</role-name>
</auth-constraint>
<!--在web-resource-collection 标签下,增加如下内容:-->
<url-pattern>/*</url-pattern>
|