簡體   English   中英

有人可以向我解釋一下此web.xml文件中發生了什么(安全性約束)

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM