Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 in using acegi security with Spring

 
M Mehta
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kevin Florish
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic