I am sorry if this is trivial question, I am just starting with
JSF.
I have a session bean called userData which is responsible for authentication with legacy system and it works ok. There is method named isAuthenticated() which returns true is user is permitted an access to a page.
Now, I do not want to change a way user is authenticated. I just want a JSF page to redirect the user to "/Login" if the user is not authenticated(e.g accessing "/ListContent.jsf" before accessing "/Logon". What piece of code I should include to "protected" pages.