What I want to avoid is that the user access to a .xhtml throu url without have logged in
My Application is being develope in JSF and Primefaces. I have read about navegation-rule, but I have not reach my goal
--this is the url of the first page http://localhost:8089/Prueba-war/index.xhtml
--this is the next page after log in http://localhost:8089/Prueba-war/faces/main.xhtml
What I want is to avoid user to copy and paste the url of the main page