Restricting users from accessing pages by directly changing the URL in JSF

后端 未结 4 775
悲&欢浪女
悲&欢浪女 2021-02-09 04:26

I have two kinds of users in my application - clients and sellers. I am using a PhaseListener in JSF to prevent users from accessing pages without logging in, but a

4条回答
  •  北海茫月
    2021-02-09 05:16

    You need to validate those parameters that ate causing error on your page when visiting directly . You can do it in prerenderview event in jsf2 or in a post construct method in jsf1.2

提交回复
热议问题