I am also adding my simple zipped project in attachment (the prettyfaces dependencies are already added in pom.xml).
The sample project was created following these steps:
1. Create simple maven web application.
2. Add a security constraint to web.xml.
3. Create pages login,login-fail, user/home.xhtml (the secured one). After this step, the security is working fine and the login page is showed after acessing user/home.xhtml.
4. Adding 2 dependencies from http://ocpsoft.org/prettyfaces/ to the pom.xml. Now the security is not working anymore.
I Know this is an old post – but I’m having the exact same problem.
I’m using PrettyFaces (I know I should convert to ReWrite but haven’t had time) and everything in my application is accessible when prettyfaces is activated – even though some areas require specific roles 🙁
Can you confirm that the fixed error also is present in the PrettyFaces.