aspose file tools*
The moose likes Spring and the fly likes Problems with Spring Security and JSF2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Problems with Spring Security and JSF2" Watch "Problems with Spring Security and JSF2" New topic
Author

Problems with Spring Security and JSF2

Janes Smith
Greenhorn

Joined: Dec 02, 2008
Posts: 2
Hi All
I'm trying to build in spring security into jsf2, both I'm new too.

I get the following errors every time I attempt to authenticate an invalid user.
(i.e. In the class:LoginBean method:doLogin after the return null)

My login.jspx is under WebRoot\faces

HTTP 404 Not Found displays in the browser.

Console display:-
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at org.apache.shale.remoting.impl.MappingImpl.viewId(MappingImpl.java:260)

Not sure what I'm doing wrong .

file:LoginBean.java


file:applicationContext-security.xml


file:login.jspx


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with Spring Security and JSF2