Re: Pretty Faces with Spring Security and primefaces

Splash Forums PrettyFaces Users Pretty Faces with Spring Security and primefaces Re: Pretty Faces with Spring Security and primefaces

#22588

First of all, you have a typo in the return statement of your login method. You return pretty:manag but it should be pretty:manage.

Are you sure your handleLoginRequest gets invoked? If you return a PrettyFaces navigation from an action method invoked by an AJAX request, JSF typically automatically redirects the user to the target page. I’m not sure the oncomplete handler is invoked in this case.

I would also recommend to use Firebug or some similar development tool to look into the AJAX response you are getting.