File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with Spring Security and JSF2

 
Janes Smith
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic