I’m new to JSF and pretty faces so my question can be simple. So in my project I have following mapping @URLMapping(id = “index”, pattern = “/index”, viewId = “/index.jsf”) it work great but now I what to prohibit access to index.jsf directly.
I have some people looking into the best answer for you here. Will hopefully have something soon. It’s a good question and of course you can always just create your own Filter that denies access to these URLs (which is what I usually do,) but I think there’s a more elegant solution.