JSF - Spring Security Integration issue

后端 未结 2 1246
-上瘾入骨i
-上瘾入骨i 2021-01-24 08:01

The Servlet 2.4+ API allows us to use the tag within the tag with values like FORWARD to interce

2条回答
  •  醉酒成梦
    2021-01-24 08:06

    From the horse's mouth (oracle documentation)

    If a navigation case does not use the redirect element, the new page is rendered as a response to the current request, which means that the URL in the browser's address field does not change and that it will contain the address of the previous page.

    What this seems to translate to is that there is no 'forward' happening to the next page during the JSF lifecycle... and so Spring Security will never get a handle to this.

提交回复
热议问题