File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes 404 in using acegi security with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "404 in using acegi security with Spring" Watch "404 in using acegi security with Spring" New topic
Author

404 in using acegi security with Spring

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
Hi All,

I am using acegi security with spring in my application. I have created the required entries in the We.xml and applicationContext.xml. The login page of the application is opening but when I hit the login button, 404 error page opens up. I have also overriden the 404 page through web.xml which is working correctly. Can anyone help me knowing the error in my security setup.

applicationContext.xml



Kevin Florish
Ranch Hand

Joined: Jan 06, 2009
Posts: 175
I just saw this message and immediately thought "wasn't Acegi incorporated into Spring 2.0" ?

This may be wrong but I just remember it from when Spring in Action was released a few years back and a differnt security filter was invoked.

No idea if thats the problem but the Spring ref manual is a good place to look for this as well as the Spring in Action book although a little dated.


Java5 Tutorials | Java6 Tutorials | HTML/CSS Tutorials | JavaScript and jQuery Tutorials
Kevin Florish
Ranch Hand

Joined: Jan 06, 2009
Posts: 175
Forget that post Acegi was incorporated but in Spring 2.0 they still used the package name.

Which version of Spring are you using?
M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
I am using spring2.0 with acegi-security-1.0.1.jar. And I am sure the same combination is working with others and some of the teams in my org are using the same.

and I am posing entries of web.xml in case that is also required..



thanks,
me
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 404 in using acegi security with Spring