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>我的理解是,具有组安全角色的用户可以访问上面显示的web资源集合中的内容,这是正确的还是工作方式与我理解的不同?
发布于 2015-05-05 19:47:18
GROUP-SECURE和更高级别的用户将能够访问<security constraint>标记中定义的资源。Look here提供了一些示例。
https://stackoverflow.com/questions/30051754
复制相似问题