aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 155
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.


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

Joined: Jan 06, 2009
Posts: 155
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: 404 in using acegi security with Spring
 
Similar Threads
Acegi Configuration
spring security form based login using database not responding
Spring security multiple login pages
"Spring Security Application" Initiated by Apache
Struggling with Acegi authentication....