Quantcast
Channel: OCPsoftPrettyfaces with container-based security – OCPsoft
Viewing all articles
Browse latest Browse all 35

Prettyfaces with container-based security

$
0
0

Hi,
I have problem using prettyfaces with container-based security. After adding prettyfaces to pom.xml, the secured pages can be viewed by unauthorised user. The original question is on the stackoverflow: http://stackoverflow.com/questions/17133638/prettyfaces-and-the-container-based-security .

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.


Viewing all articles
Browse latest Browse all 35

Trending Articles