[英]Can someone please explain to me what is happening in this web.xml file (security-constraints)
xml文件,其中包含以下代碼段:
<security-role>
<role-name>GROUP_SECURE</role-name>
</security-role>
<security-constraint>
<web-resource-collection>
<web-resource-name>The lot</web-resource-name>
<url-pattern>/services/Service1.Service1Soap11Endpoint/</url-pattern>
.....
</web-resource-collection>
<auth-constraint>
<role-name>GROUP-SECURE</role-name>
</auth-constraint>
</security-constraint>
我的理解是,具有GROUP-SECURE角色的用戶可以訪問上面顯示的Web資源集合中的內容,這是正確的還是與我的理解有所不同?
GROUP-SECURE
和更高級別的用戶將能夠訪問<security constraint>
標記中定義的資源。 在這里查看一些示例。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.