Have been working on Spring MVC in combination with Tiles for the last few weeks. After some serious hair pulling, I was able to get this combination working...
Now I want to integrate this with Acegi. Have working with a couple of examples (which are all very similar). Studied the documentation extensively, and am still not able to get the thing working.
The login apge shows up, but I keep getting this j_acegi_security_check not found problem (also found this in other postings). For this, I changed all references to j_acegi_security_check.htm and j_acegi_security_check.jsp to no avail.
So far I've been doing this:
1 - registered my acegilogin.jsp in my controller which extends an AbstractController, like this:
2 - implemented an Acegi filter
<bean id="indexController" class="nl.aegon.sscp.output.web.tiles.IndexController"/>
<!--URLs MAPPED TO THE SPRING CONTROLLERS (DEFINED BELOW) -->
<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<!-- The mother of all pages -->
<!-- and here siblings... -->
A lot of other jsp's here; which I left out
<!-- I'm unsure if below line is required; tried with and without -->
<!-- This one, Im quite sure... -->
3 - implemented an Acegi entry point:
3 - mapped all *.htm in web.xml like this:
What am I missing here.
If required, I'm willing to post more coding.