Security constraint in web.xml not getting applied to URL patterns having file extension

前端 未结 2 1562
天涯浪人
天涯浪人 2021-02-04 08:33

I have the following security constraints entered in the web.xml. My objective is that the XML files are in the Public area. This works for the /images/* folder. Ho

2条回答
  •  长情又很酷
    2021-02-04 08:46

    Actually, the sequence of the placement is issue, first security constraints should be the super_user, then public area security constraints. If your put the security constraint belong of public area it will be over written by followed security constraints.

提交回复
热议问题