jsf-facelets 转发绕过 servlet 过滤器
我玩了一周的 appfuse-jsf-basic 但我注意到了一些事情。如果我不将标签添加到导航规则中,我可以查看需要具有 ROLE_USER 权限的 ROLE_ADMIN 的页面。然后我了解到 Facelets 不使用“servlet.forward”方法进行转发,因此过滤器不会在导航规则中捕获 Facelets 转发。有没有其他方法可以使用具有无重定向导航规则和 acegi(又名 spring security)的facelets。我搜索了所有论坛,但找不到解决方案。先感谢您!
For one week, i am playing with appfuse-jsf-basic but i noticed something. If i do not put tag to my navigation rules, i can view a page that require ROLE_ADMIN with ROLE_USER rights. Then i understand something that facelets doesnt use "servlet.forward" methods for forwarding so filters does not catch facelets forwards in navigation rules. Is there any other way to use facelets with no-redirect navigation rules and acegi(aka spring security).I searched all the forums but could not find a solution. Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以看看这个库:http://dominikdorn.com/facelets/。
You can have a look at this library: http://dominikdorn.com/facelets/.