How implement a login filter in JSF?

后端 未结 2 1533
感动是毒
感动是毒 2020-11-22 12:08

I would like to block the access of some page even if the user knows the url of some pages. For example, /localhost:8080/user/home.xhtml (need to do the login f

2条回答
  •  青春惊慌失措
    2020-11-22 12:48

    While it's of course legitimate to use a simple Servlet filter, there are alternatives like

    • Spring Security
    • Java EE Security
    • Apache Shiro

提交回复
热议问题