Hi guys! I couldn't find any useful tutorials as of the moment about PhaseListener. I need to implement an authentication feature and I don't want to do authentication for every controller/backing bean. This was already possible with Servlet Filters but I want to be able to access managed beans easilly so I was wondering if you guys could drop your opinion on which one I should use.
In Servlet filters we could specify which URL the Filter would be applied. Is it the same with PhaseListeners? Could you please give me an example? Thanks!